docs: Restart mode (#380)

This commit is contained in:
Kroese 2024-01-23 22:10:56 +01:00 committed by GitHub
parent 2fdb19ae40
commit 2d4045001a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
FROM debian:trixie-slim FROM debian:trixie-slim
ARG DEBCONF_NOWARNINGS="yes" ARG DEBCONF_NOWARNINGS "yes"
ARG DEBIAN_FRONTEND "noninteractive" ARG DEBIAN_FRONTEND "noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN "true" ARG DEBCONF_NONINTERACTIVE_SEEN "true"

View file

@ -17,4 +17,4 @@ services:
ports: ports:
- 8006:8006 - 8006:8006
stop_grace_period: 2m stop_grace_period: 2m
restart: unless-stopped restart: on-failure

View file

@ -40,7 +40,7 @@ services:
ports: ports:
- 8006:8006 - 8006:8006
stop_grace_period: 2m stop_grace_period: 2m
restart: unless-stopped restart: on-failure
``` ```
Via `docker run` Via `docker run`