make sure containers auto-restart

This commit is contained in:
lza_menace 2020-11-15 08:55:54 -08:00
parent 94e7904503
commit 946b3e9cf5

View file

@ -21,6 +21,7 @@ services:
grafana: grafana:
image: grafana/grafana:6.5.0 image: grafana/grafana:6.5.0
container_name: grafana container_name: grafana
restart: unless-stopped
ports: ports:
- 127.0.0.1:3000:3000 - 127.0.0.1:3000:3000
environment: environment:
@ -42,6 +43,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile-exporter dockerfile: Dockerfile-exporter
restart: unless-stopped
environment: environment:
DAEMON_HOST: http://wownerod:34570 DAEMON_HOST: http://wownerod:34570
PORT: 8080 PORT: 8080
@ -49,6 +51,7 @@ services:
- 127.0.0.1:8080:8080 - 127.0.0.1:8080:8080
wownerod: wownerod:
image: lalanza808/wownero:v0.9.1.0 image: lalanza808/wownero:v0.9.1.0
restart: unless-stopped
volumes: volumes:
- ~/data/daemon:/data - ~/data/daemon:/data
command: command:
@ -56,3 +59,4 @@ services:
ports: ports:
- 34567:34567 - 34567:34567
- 34568:34568 - 34568:34568
- 34570:34570