Browse Source

change resart option: always -> unless-stopped

master
Yasuhiro Yamaguchi 5 years ago
parent
commit
435c4ede51
  1. 4
      docker-compose.yml

4
docker-compose.yml

@ -8,7 +8,7 @@ services:
postgres: postgres:
image: postgres:11 image: postgres:11
restart: always
restart: unless-stopped
volumes: volumes:
- postgresdata:/var/lib/postgresql/data - postgresdata:/var/lib/postgresql/data
- ./config/sql:/config/sql - ./config/sql:/config/sql
@ -25,7 +25,7 @@ services:
depends_on: depends_on:
- postgres - postgres
- waitfordb - waitfordb
restart: always
restart: unless-stopped
ports: ports:
- "${INVIDIOUS_HTTP_PORT}:3000" - "${INVIDIOUS_HTTP_PORT}:3000"
environment: environment:

Loading…
Cancel
Save