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=hedgedoc"
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
app:
|
||||
#image: quay.io/hedgedoc/hedgedoc:1.9.9
|
||||
|
@ -42,7 +42,7 @@ services:
|
|||
- uploads:/hedgedoc/public/uploads
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue