mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-05-20 09:02:02 +00:00
add restart and init to docker compose files
This commit is contained in:
parent
ba4fa1d031
commit
1a21abee7f
@ -12,3 +12,5 @@ services:
|
|||||||
- "./templates/static:${STATIC_PATH}"
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334:3334"
|
- "3334:3334"
|
||||||
|
restart: unless-stopped
|
||||||
|
init: true
|
||||||
|
@ -12,6 +12,8 @@ services:
|
|||||||
- "./templates/static:${STATIC_PATH}"
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334"
|
- "3334"
|
||||||
|
restart: unless-stopped
|
||||||
|
init: true
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
image: lncm/tor:0.4.7.9@sha256:86c2fe9d9099e6376798979110b8b9a3ee5d8adec27289ac4a5ee892514ffe92
|
image: lncm/tor:0.4.7.9@sha256:86c2fe9d9099e6376798979110b8b9a3ee5d8adec27289ac4a5ee892514ffe92
|
||||||
@ -23,3 +25,4 @@ services:
|
|||||||
- ./tor/data:/var/lib/tor
|
- ./tor/data:/var/lib/tor
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
stop_grace_period: 10m30s
|
stop_grace_period: 10m30s
|
||||||
|
init: true
|
@ -12,3 +12,5 @@ services:
|
|||||||
- "./templates/static:${STATIC_PATH}"
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334:3334"
|
- "3334:3334"
|
||||||
|
restart: unless-stopped
|
||||||
|
init: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user