Make containers restart automatically

and document how to disable that...
This commit is contained in:
Erik Huelsmann
2022-11-30 23:55:08 +01:00
parent 2c6e26e41c
commit 2fd0e3a899
2 changed files with 9 additions and 0 deletions

View File

@@ -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"