sphinx-relay/docker-compose.yml
2021-07-21 22:32:01 -05:00

23 lines
492 B
YAML

version: '2'
volumes:
node_modules:
services:
relay:
build:
context: .
dockerfile: Dockerfile.lndrelay
volumes:
- .:/relay
- .lnd/:/relay/.lnd
- node_modules:/relay/node_modules
ports:
- '3000:3000'
- '9735:9735'
- '10009:10009'
command: 'lnd --accept-keysend --configfile=/relay/.lnd/lnd.conf && npm start'
environment:
- PORT=3000
- NODE_IP=mynodeip
- NODE_ALIAS=myalias
- NODE_ENV=production