mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-12 16:32:11 -04:00
add restart rules
This commit is contained in:
parent
7b4495d551
commit
f0f02adb81
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,7 @@ x-tor-service: &tor-service
|
||||||
tor:
|
tor:
|
||||||
container_name: tor
|
container_name: tor
|
||||||
image: vdo1138/tor-hidden-service:${TOR_TAG}
|
image: vdo1138/tor-hidden-service:${TOR_TAG}
|
||||||
|
restart: unless-stopped
|
||||||
links:
|
links:
|
||||||
- monerod
|
- monerod
|
||||||
environment:
|
environment:
|
||||||
|
@ -111,6 +112,7 @@ x-monero-exporter-service: &monero-exporter-service
|
||||||
command:
|
command:
|
||||||
- --monero-addr=http://monerod:${MONEROD_RPC_PORT}
|
- --monero-addr=http://monerod:${MONEROD_RPC_PORT}
|
||||||
container_name: monero-exporter
|
container_name: monero-exporter
|
||||||
|
restart: unless-stopped
|
||||||
image: vdo1138/monero-exporter:0.0.2
|
image: vdo1138/monero-exporter:0.0.2
|
||||||
<<: *log-config
|
<<: *log-config
|
||||||
|
|
||||||
|
@ -120,6 +122,7 @@ x-grafana-service: &grafana-service
|
||||||
command:
|
command:
|
||||||
- -config=/etc/grafana/grafana.ini
|
- -config=/etc/grafana/grafana.ini
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
|
restart: unless-stopped
|
||||||
image: grafana/grafana:${GRAFANA_TAG}
|
image: grafana/grafana:${GRAFANA_TAG}
|
||||||
ports:
|
ports:
|
||||||
- 3000
|
- 3000
|
||||||
|
@ -151,6 +154,7 @@ x-prometheus-service: &prometheus-service
|
||||||
- --storage.tsdb.path=/data
|
- --storage.tsdb.path=/data
|
||||||
- --storage.tsdb.retention.time=30d
|
- --storage.tsdb.retention.time=30d
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
|
restart: unless-stopped
|
||||||
image: prom/prometheus:${PROMETHEUS_TAG}
|
image: prom/prometheus:${PROMETHEUS_TAG}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/prometheus:/data
|
- ./data/prometheus:/data
|
||||||
|
@ -160,6 +164,7 @@ x-prometheus-service: &prometheus-service
|
||||||
x-watchtower-service: &watchtower-service
|
x-watchtower-service: &watchtower-service
|
||||||
watchtower:
|
watchtower:
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
|
restart: unless-stopped
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue