USe unless-stopped instead of always
This commit is contained in:
parent
475a758f83
commit
dfbc8e58a9
6 changed files with 15 additions and 15 deletions
|
@ -10,7 +10,7 @@ services:
|
|||
- "POSTGRES_DB=pretalx"
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
|
||||
static:
|
||||
image: docker.io/library/nginx
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- public:/usr/share/nginx/html
|
||||
ports:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue