sphinx-relay/docker-compose.yml

24 lines
492 B
YAML
Raw Normal View History

2020-04-20 17:06:09 +01:00
version: '2'
volumes:
node_modules:
services:
2020-04-30 14:23:02 +01:00
relay:
2020-04-20 17:06:09 +01:00
build:
context: .
dockerfile: Dockerfile.lndrelay
2020-04-20 17:06:09 +01:00
volumes:
2020-04-21 10:44:00 +01:00
- .:/relay
2020-04-20 17:06:09 +01:00
- .lnd/:/relay/.lnd
- node_modules:/relay/node_modules
ports:
2021-07-21 22:32:01 -05:00
- '3000:3000'
- '9735:9735'
- '10009:10009'
command: 'lnd --accept-keysend --configfile=/relay/.lnd/lnd.conf && npm start'
2020-04-20 17:06:09 +01:00
environment:
- PORT=3000
2020-04-21 11:39:51 +01:00
- NODE_IP=mynodeip
- NODE_ALIAS=myalias
2021-07-21 22:32:01 -05:00
- NODE_ENV=production