Browse Source

Container names and remove dependencies

patch-1
Mayank 5 years ago
parent
commit
5f2e47b4a1
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 14
      docker-compose.yml

14
docker-compose.yml

@ -5,12 +5,13 @@ x-logging: &default-logging
tag: "{{.Name}}" tag: "{{.Name}}"
x-utility: &default-utility x-utility: &default-utility
image: "alpine:3.11" image: alpine:3.11
logging: *default-logging logging: *default-logging
network_mode: host network_mode: host
services: services:
tor: tor:
container_name: tor
image: getumbrel/tor:v0.4.1.9 image: getumbrel/tor:v0.4.1.9
restart: on-failure restart: on-failure
logging: *default-logging logging: *default-logging
@ -22,8 +23,8 @@ services:
net: net:
ipv4_address: 10.11.5.1 ipv4_address: 10.11.5.1
nginx: nginx:
container_name: nginx
image: nginx:1.17.8 image: nginx:1.17.8
depends_on: [ tor ]
logging: *default-logging logging: *default-logging
volumes: volumes:
- ${PWD}/nginx:/etc/nginx - ${PWD}/nginx:/etc/nginx
@ -35,6 +36,7 @@ services:
net: net:
ipv4_address: 10.11.0.2 ipv4_address: 10.11.0.2
bitcoin: bitcoin:
container_name: bitcoin
image: lncm/bitcoind:v0.20.0 image: lncm/bitcoind:v0.20.0
depends_on: [ tor ] depends_on: [ tor ]
logging: *default-logging logging: *default-logging
@ -51,6 +53,7 @@ services:
net: net:
ipv4_address: 10.11.1.1 ipv4_address: 10.11.1.1
lnd: lnd:
container_name: lnd
image: lncm/lnd:v0.10.1-experimental image: lncm/lnd:v0.10.1-experimental
depends_on: [ tor ] depends_on: [ tor ]
logging: *default-logging logging: *default-logging
@ -64,8 +67,8 @@ services:
net: net:
ipv4_address: 10.11.1.2 ipv4_address: 10.11.1.2
dashboard: dashboard:
container_name: dashboard
image: getumbrel/dashboard:v0.2.1 image: getumbrel/dashboard:v0.2.1
depends_on: [ bitcoin, lnd, nginx ]
logging: *default-logging logging: *default-logging
restart: always restart: always
stop_grace_period: 1m30s stop_grace_period: 1m30s
@ -73,8 +76,8 @@ services:
net: net:
ipv4_address: 10.11.0.3 ipv4_address: 10.11.0.3
manager: manager:
container_name: manager
image: getumbrel/manager:v0.1.1 image: getumbrel/manager:v0.1.1
depends_on: [ bitcoin, lnd, nginx ]
logging: *default-logging logging: *default-logging
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m30s stop_grace_period: 5m30s
@ -96,8 +99,9 @@ services:
net: net:
ipv4_address: 10.11.2.1 ipv4_address: 10.11.2.1
middleware: middleware:
container_name: middleware
image: getumbrel/middleware:v0.1.1 image: getumbrel/middleware:v0.1.1
depends_on: [ bitcoin, lnd, nginx ] depends_on: [ bitcoin, lnd ]
command: ["./wait-for-node-manager.sh", "10.11.2.1", "npm", "start"] command: ["./wait-for-node-manager.sh", "10.11.2.1", "npm", "start"]
logging: *default-logging logging: *default-logging
restart: unless-stopped restart: unless-stopped

Loading…
Cancel
Save