mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 21:24:16 +08:00
Update docker-compose.yml (#2394)
restart: always for turn and netmaker Otherwise it will not survive a reboot.
This commit is contained in:
parent
e286adda77
commit
834cc893ab
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ services:
|
|||
container_name: netmaker
|
||||
image: gravitl/netmaker:$SERVER_IMAGE_TAG
|
||||
env_file: ./netmaker.env
|
||||
restart: on-failure
|
||||
restart: always
|
||||
volumes:
|
||||
- dnsconfig:/root/config/dnsconfig
|
||||
- sqldata:/root/data
|
||||
|
@ -96,6 +96,7 @@ services:
|
|||
network_mode: "host"
|
||||
volumes:
|
||||
- turn_server:/etc/config
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
caddy_data: { } # runtime data for caddy
|
||||
|
|
Loading…
Add table
Reference in a new issue