Update docker-compose.yml (#2394)

restart: always for turn and netmaker
Otherwise it will not survive a reboot.
This commit is contained in:
pete1019 2023-06-13 13:43:40 +02:00 committed by GitHub
parent e286adda77
commit 834cc893ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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