mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
make sure containers auto-restart
This commit is contained in:
parent
94e7904503
commit
946b3e9cf5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue