|
|
@ -12,7 +12,7 @@ services: |
|
|
|
restart: on-failure |
|
|
|
volumes: |
|
|
|
- ${APP_DATA_DIR}/data/app:${APP_CONFIG_DIR} |
|
|
|
- ${APP_DATA_DIR}/data/lightningd:${APP_CORE_LIGHTNING_DATA_DIR} |
|
|
|
- ${APP_CORE_LIGHTNING_DATA_DIR}:${CORE_LIGHTNING_PATH} |
|
|
|
- ${APP_CORE_LIGHTNING_REST_CERT_DIR}:${APP_REST_CERT_VOLUME_DIR} |
|
|
|
environment: |
|
|
|
SINGLE_SIGN_ON: "true" |
|
|
@ -31,9 +31,9 @@ services: |
|
|
|
APP_MODE: ${APP_MODE} |
|
|
|
DEVICE_DOMAIN_NAME: ${DEVICE_DOMAIN_NAME} |
|
|
|
LOCAL_HOST: http://${DEVICE_DOMAIN_NAME} |
|
|
|
CA_CERT: ${APP_CORE_LIGHTNING_DATA_DIR}/bitcoin/ca.pem |
|
|
|
CLIENT_KEY: ${APP_CORE_LIGHTNING_DATA_DIR}/bitcoin/client-key.pem |
|
|
|
CLIENT_CERT: ${APP_CORE_LIGHTNING_DATA_DIR}/bitcoin/client.pem |
|
|
|
CA_CERT: ${CORE_LIGHTNING_PATH}/bitcoin/ca.pem |
|
|
|
CLIENT_KEY: ${CORE_LIGHTNING_PATH}/bitcoin/client-key.pem |
|
|
|
CLIENT_CERT: ${CORE_LIGHTNING_PATH}/bitcoin/client.pem |
|
|
|
networks: |
|
|
|
default: |
|
|
|
ipv4_address: ${APP_CORE_LIGHTNING_IP} |
|
|
@ -49,7 +49,7 @@ services: |
|
|
|
LN_PATH: "${CORE_LIGHTNING_PATH}" |
|
|
|
volumes: |
|
|
|
- "${APP_CORE_LIGHTNING_REST_CERT_DIR}:/usr/src/app/certs" |
|
|
|
- "${APP_DATA_DIR}/data/lightningd:${CORE_LIGHTNING_PATH}" |
|
|
|
- "${APP_CORE_LIGHTNING_DATA_DIR}:${CORE_LIGHTNING_PATH}" |
|
|
|
networks: |
|
|
|
default: |
|
|
|
ipv4_address: ${APP_CORE_LIGHTNING_REST_IP} |
|
|
@ -76,7 +76,7 @@ services: |
|
|
|
- --experimental-offers |
|
|
|
- --grpc-port=${APP_CORE_LIGHTNING_DAEMON_GRPC_PORT} |
|
|
|
volumes: |
|
|
|
- "${APP_DATA_DIR}/data/lightningd:${CORE_LIGHTNING_PATH}" |
|
|
|
- "${APP_CORE_LIGHTNING_DATA_DIR}:${CORE_LIGHTNING_PATH}" |
|
|
|
networks: |
|
|
|
default: |
|
|
|
ipv4_address: ${APP_CORE_LIGHTNING_DAEMON_IP} |
|
|
|