Browse Source

updated docker compose

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

32
docker-compose.yml

@ -10,7 +10,7 @@ x-utility: &default-utility
network_mode: host
services:
web:
nginx:
image: nginx:1.17.8
logging: *default-logging
volumes:
@ -37,21 +37,41 @@ services:
- /var/lib/tor:/var/lib/tor
- /run/tor:/run/tor/
restart: on-failure
depends_on: [ bitcoin, web ]
network_mode: host
stop_grace_period: 1m30s
dashboard:
image: getumbrel/dashboard:v0.2.0
logging: *default-logging
restart: always
network_mode: host
manager:
image: getumbrel/manager:v0.1.0
logging: *default-logging
restart: unless-stopped
network_mode: host
volumes:
- "${HOME}/db:/db"
environment:
PORT: "3006"
USER_PASSWORD_FILE: "/db/user.json"
JWT_PUBLIC_KEY_FILE: "/db/jwt-public-key/jwt.pem"
JWT_PRIVATE_KEY_FILE: "/db/jwt-private-key/jwt.key"
JWT_EXPIRATION: "3600"
middleware:
image: getumbrel/middleware:v0.0.5
depends_on: [ bitcoin, lnd ]
image: getumbrel/middleware:v0.1.0
logging: *default-logging
restart: on-failure
restart: unless-stopped
network_mode: host
depends_on: [ manager ]
volumes:
- "${HOME}/lnd:/lnd"
- "${HOME}/lnd:/lnd"
- "${HOME}/db/jwt-public-key:/jwt-public-key"
environment:
PORT: "3005"
BITCOIN_HOST: "0.0.0.0"
RPC_PORT: "8332"
RPC_USER: ""
RPC_PASSWORD: ""
LND_NETWORK: "mainnet"
LND_HOST: "127.0.0.1"
JWT_PUBLIC_KEY_FILE: "/jwt-public-key/jwt.pem"
Loading…
Cancel
Save