diff --git a/docker-compose.yml b/docker-compose.yml index 426600d..5e1eaa3 100644 --- a/docker-compose.yml +++ b/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"