Browse Source
Mount docker in manager with new env variable
patch-1
Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
1 changed files with
7 additions and
3 deletions
-
docker-compose.yml
|
|
@ -51,13 +51,17 @@ services: |
|
|
|
restart: unless-stopped |
|
|
|
network_mode: host |
|
|
|
volumes: |
|
|
|
- "${HOME}/db:/db" |
|
|
|
- ${HOME}/db:/db |
|
|
|
- /var/run/docker.sock:/var/run/docker.sock |
|
|
|
- /usr/bin/docker:/usr/bin/docker |
|
|
|
- ${HOME}:${HOME} |
|
|
|
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" |
|
|
|
DOCKER_COMPOSE_DIRECTORY: $HOME |
|
|
|
middleware: |
|
|
|
image: getumbrel/middleware:v0.1.0 |
|
|
|
command: ["./wait-for-node-manager.sh", "localhost", "npm", "start"] |
|
|
@ -66,8 +70,8 @@ services: |
|
|
|
network_mode: host |
|
|
|
depends_on: [ manager ] |
|
|
|
volumes: |
|
|
|
- "${HOME}/lnd:/lnd" |
|
|
|
- "${HOME}/db/jwt-public-key:/jwt-public-key" |
|
|
|
- ${HOME}/lnd:/lnd |
|
|
|
- ${HOME}/db/jwt-public-key:/jwt-public-key |
|
|
|
environment: |
|
|
|
PORT: "3005" |
|
|
|
BITCOIN_HOST: "0.0.0.0" |
|
|
|