squeaknode/docker/docker-compose.yml
Jonathan Zernik 34ec5deee8
Use python slim docker base image (#516)
* Use python slim image for both squeaknode and test

* Clean up dockerfiles

* Reorder dockerfile for squeaknode

* Load alembic config file from packaged module

* Alembic directory is now loaded from packaged module

* Got multi-stage docker build working

* Removed old app directory from docker config

* Remove commented package data arg from setup.py

* Remove unused alembic graft from manifest

* Fix extra space in alembic revision
2020-12-27 04:59:59 -08:00

53 lines
1.1 KiB
YAML

version: '3'
services:
bitcoin-core:
image: ruimarinho/bitcoin-core
container_name: bitcoin-core
volumes:
- ~/.bitcoin:/home/bitcoin/.bitcoin
lnd:
image: lnd
container_name: lnd
build:
context: ../
dockerfile: docker/lnd/Dockerfile
environment:
- RPCHOST=bitcoin-core
- BACKEND=bitcoind
volumes:
- ~/.lnd:/root/.lnd
ports:
- 9735:9735
links:
- "bitcoin-core:bitcoin-core"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-lnd.sh"]
squeaknode:
image: squeaknode
container_name: squeaknode
build:
context: ../
dockerfile: docker/squeaknode/Dockerfile
environment:
- WEBADMIN_USE_SSL
- WEBADMIN_LOGIN_DISABLED
- WEBADMIN_ALLOW_CORS
- LOG_LEVEL
- SQUEAKNODE_SYNC_INTERVAL_S
volumes:
- ~/.lnd:/root/.lnd
- ./config.ini:/config.ini
- ~/.sqk:/root/.sqk
ports:
- 8774:8774
- 12994:12994
links:
- "bitcoin-core:bitcoin-core"
- "lnd:lnd"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-squeaknode.sh"]