Update mygit/docker-compose.yml
Change the restart option from "on failure" to "unless-stopped"
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
- GITEA__database__PASSWD=gitea
|
||||
- ENABLE_PUSH_CREATE_USER=true
|
||||
- ENABLE_PUSH_CREATE_ORG=true
|
||||
restart: on-failure
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/cephfs/docker/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
|
||||
db:
|
||||
image: docker.io/library/postgres:14
|
||||
restart: on-failure
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
|
||||
Reference in New Issue
Block a user