Skip to content

Commit

Permalink
Give more time to bitcoin and lightning to shut down before kill (Sat…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kexkey authored Feb 23, 2020
1 parent 97ae1a8 commit 6349663
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ services:
networks:
- cyphernodenet
- cyphernodeappsnet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]
Expand All @@ -49,9 +51,12 @@ services:
interval: 20s
timeout: 10s
retries: 10
stop_grace_period: 30s
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
<% if ( features.indexOf('tor') !== -1 ) { %>
depends_on:
- tor
Expand Down Expand Up @@ -85,9 +90,12 @@ services:
interval: 20s
timeout: 10s
retries: 10
stop_grace_period: 30s
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
<% if ( features.indexOf('tor') !== -1 ) { %>
depends_on:
- tor
Expand Down Expand Up @@ -144,7 +152,9 @@ services:
<% } %>
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]
Expand All @@ -160,7 +170,9 @@ services:
- "OTS_URL=proxy:8888/ots_backoffice"
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
depends_on:
- proxy
# deploy:
Expand All @@ -176,7 +188,9 @@ services:
networks:
- cyphernodenet
- cyphernodeappsnet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]
Expand All @@ -196,7 +210,9 @@ services:
networks:
- cyphernodenet
- cyphernodeappsnet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
depends_on:
- broker
# deploy:
Expand All @@ -219,7 +235,9 @@ services:
<% } %>
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]
Expand Down Expand Up @@ -248,7 +266,9 @@ services:
command: $USER /script/startotsclient.sh
networks:
- cyphernodenet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]
Expand Down Expand Up @@ -281,7 +301,9 @@ services:
networks:
- cyphernodenet
- cyphernodeappsnet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
depends_on:
- proxy
# deploy:
Expand All @@ -304,7 +326,9 @@ services:
- "<%= traefik_datapath%>/htpasswd:/htpasswd/htpasswd:ro"
networks:
- cyphernodeappsnet
<% if (docker_mode == 'compose') { %>
restart: always
<% } %>
depends_on:
- gatekeeper
# deploy:
Expand Down

0 comments on commit 6349663

Please sign in to comment.