mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
23 lines
492 B
YAML
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
|