add restart policy to monerod

testing-process-exporter
lza_menace 4 years ago
parent e301fe8e81
commit 54ccb9e558

@ -57,6 +57,7 @@ services:
dockerfile: monero_compile dockerfile: monero_compile
args: args:
threads: ${THREADS:-1} threads: ${THREADS:-1}
restart: unless-stopped
volumes: volumes:
- ${DATA_DIR:-./data}:/data - ${DATA_DIR:-./data}:/data
ports: ports:

@ -57,6 +57,7 @@ services:
dockerfile: monero_nocompile dockerfile: monero_nocompile
args: args:
threads: ${THREADS:-1} threads: ${THREADS:-1}
restart: unless-stopped
volumes: volumes:
- ${DATA_DIR:-./data}:/data - ${DATA_DIR:-./data}:/data
ports: ports:

Loading…
Cancel
Save