Browse Source

Merge pull request #108 from Samourai-Wallet/imp_mydojo_ronin

switch restart policies of containers to always
umbrel
kenshin samourai 5 years ago
committed by GitHub
parent
commit
6629bdfa7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docker/my-dojo/docker-compose.yaml
  2. 2
      docker/my-dojo/overrides/explorer.install.yaml

8
docker/my-dojo/docker-compose.yaml

@ -10,7 +10,7 @@ services:
env_file:
- ./.env
- ./conf/docker-mysql.conf
restart: on-failure
restart: always
expose:
- "3306"
volumes:
@ -32,7 +32,7 @@ services:
- ./conf/docker-bitcoind.conf
- ./conf/docker-explorer.conf
- ./conf/docker-node.conf
restart: on-failure
restart: always
command: "/home/node/app/wait-for-it.sh db:3306 --timeout=720 --strict -- /home/node/app/restart.sh"
expose:
- "8080"
@ -55,7 +55,7 @@ services:
env_file:
- ./.env
- ./conf/docker-common.conf
restart: on-failure
restart: always
command: "/wait-for node:8080 --timeout=720 -- nginx"
expose:
- "80"
@ -79,7 +79,7 @@ services:
- ./.env
- ./conf/docker-explorer.conf
- ./conf/docker-tor.conf
restart: on-failure
restart: always
command: /restart.sh
volumes:
- data-tor:/var/lib/tor

2
docker/my-dojo/overrides/explorer.install.yaml

@ -10,7 +10,7 @@ services:
- ./.env
- ./conf/docker-bitcoind.conf
- ./conf/docker-explorer.conf
restart: on-failure
restart: always
command: "/home/node/app/restart.sh"
expose:
- "3002"

Loading…
Cancel
Save