From 946b3e9cf51e39f63c515c8b400a962bff2788cf Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sun, 15 Nov 2020 08:55:54 -0800 Subject: [PATCH] make sure containers auto-restart --- wownero/docker-compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wownero/docker-compose.yaml b/wownero/docker-compose.yaml index 735bcae..fbe07d9 100644 --- a/wownero/docker-compose.yaml +++ b/wownero/docker-compose.yaml @@ -21,6 +21,7 @@ services: grafana: image: grafana/grafana:6.5.0 container_name: grafana + restart: unless-stopped ports: - 127.0.0.1:3000:3000 environment: @@ -42,6 +43,7 @@ services: build: context: . dockerfile: Dockerfile-exporter + restart: unless-stopped environment: DAEMON_HOST: http://wownerod:34570 PORT: 8080 @@ -49,6 +51,7 @@ services: - 127.0.0.1:8080:8080 wownerod: image: lalanza808/wownero:v0.9.1.0 + restart: unless-stopped volumes: - ~/data/daemon:/data command: @@ -56,3 +59,4 @@ services: ports: - 34567:34567 - 34568:34568 + - 34570:34570