Last active
April 10, 2022 13:36
-
-
Save MrNaif2018/148d22339bb3b9c6b08493f0ca6e7ab6 to your computer and use it in GitHub Desktop.
BitcartCC minimal BTC with Lightning docker-compose file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
admin: | |
restart: unless-stopped | |
image: bitcartcc/bitcart-admin:stable | |
expose: | |
- "4000" | |
command: yarn start | |
environment: | |
BITCART_ADMIN_LOG_FILE: bitcart.log | |
BITCART_ADMIN_API_URL: ${BITCART_ADMIN_API_URL} | |
ports: | |
- 4000:4000 | |
links: | |
- backend | |
backend: | |
depends_on: | |
- bitcoin | |
- database | |
- redis | |
links: | |
- bitcoin | |
- database | |
- redis | |
restart: unless-stopped | |
image: bitcartcc/bitcart:stable | |
entrypoint: /usr/local/bin/docker-entrypoint.sh | |
command: bash -c "alembic upgrade head && gunicorn -c gunicorn.conf.py main:app" | |
environment: | |
IN_DOCKER: false | |
LOG_FILE: bitcart.log | |
BITCART_DATADIR: /datadir | |
BTC_NETWORK: ${BTC_NETWORK:-mainnet} | |
BTC_LIGHTNING: ${BTC_LIGHTNING:-true} | |
user: 1000:1000 | |
expose: | |
- "8000" | |
volumes: | |
- bitcart_datadir:/datadir | |
ports: | |
- 8000:8000 | |
bitcoin: | |
restart: unless-stopped | |
image: bitcartcc/bitcart-btc:stable | |
environment: | |
BTC_NETWORK: ${BTC_NETWORK:-mainnet} | |
BTC_LIGHTNING: ${BTC_LIGHTNING:-true} | |
expose: | |
- "5000" | |
volumes: | |
- bitcoin_datadir:/data | |
database: | |
restart: unless-stopped | |
image: postgres:12-alpine | |
environment: | |
POSTGRES_DB: bitcart | |
POSTGRES_HOST_AUTH_METHOD: trust | |
volumes: | |
- dbdata:/var/lib/postgresql/data | |
expose: | |
- "5432" | |
redis: | |
restart: unless-stopped | |
image: redis:alpine | |
expose: | |
- "6379" | |
store: | |
restart: unless-stopped | |
image: bitcartcc/bitcart-store:stable | |
expose: | |
- "3000" | |
command: yarn start | |
environment: | |
BITCART_STORE_API_URL: ${BITCART_STORE_API_URL} | |
ports: | |
- 3000:3000 | |
links: | |
- backend | |
worker: | |
depends_on: | |
- backend | |
links: | |
- backend | |
restart: unless-stopped | |
image: bitcartcc/bitcart:stable | |
entrypoint: /usr/local/bin/docker-entrypoint.sh | |
command: python3 worker.py | |
environment: | |
IN_DOCKER: false | |
LOG_FILE: bitcart.log | |
BITCART_DATADIR: /datadir | |
BTC_NETWORK: ${BTC_NETWORK:-mainnet} | |
BTC_LIGHTNING: ${BTC_LIGHTNING:-true} | |
user: 1000:1000 | |
expose: | |
- "9020" | |
volumes: | |
- bitcart_datadir:/datadir | |
volumes: | |
bitcoin_datadir: null | |
bitcart_datadir: null | |
dbdata: null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment