diff --git a/docker-compose-reverseproxy.yml b/docker-compose-reverseproxy.yml index 2b29fa1..5878b1a 100644 --- a/docker-compose-reverseproxy.yml +++ b/docker-compose-reverseproxy.yml @@ -25,6 +25,9 @@ services: - "./nginx.conf:/etc/nginx/nginx.conf" ports: - "8080:8080" + # Comment the line below to stop the container from restarting on boot + # unless it was manually stopped + restart: unless-stopped lsmb: volumes: - "lsmbdata:/srv/ledgersmb" diff --git a/docker-compose.yml b/docker-compose.yml index 985734f..aee9a20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,9 @@ services: - internal volumes: - "pgdata:/var/lib/postgresql/data" + # Comment the line below to stop the container from restarting on boot + # unless it was manually stopped + restart: unless-stopped lsmb: depends_on: - postgres @@ -67,6 +70,9 @@ services: # hosted in a separate container, this setting needs to be adjusted. # # PROXY_IP: 172.17.0.1/12 + # Comment the line below to stop the container from restarting on boot + # unless it was manually stopped + restart: unless-stopped # having the dbdata volume is required to persist our # data between PostgreSQL container updates; without