docs: Restart mode (#380)
This commit is contained in:
parent
2fdb19ae40
commit
2d4045001a
3 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in a new issue