You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
747 B

version: '2'
volumes:
node_modules:
services:
lnd:
build:
context: .
dockerfile: Dockerfile
volumes:
- .lnd/:/root/.lnd
ports:
- "9735:9735"
- "10009:10009"
- "8080:8080"
command: 'lnd --accept-keysend'
# networks:
# - lnd_relay
# tty: true
node_server:
build:
context: .
dockerfile: Dockerfile-node
depends_on:
- lnd
volumes:
- .:/relay
- .lnd/:/relay/.lnd
- node_modules:/relay/node_modules
ports:
- "3000:3000"
# tty: true
command: "npm start"
# networks:
# - lnd_relay
environment:
- PORT=3000
- NODE_IP=51.37.119.104
- NODE_ALIAS=gonza-ireland
- NODE_ENV=production