2022-02-07 11:21:59 +00:00
|
|
|
version: '3.9'
|
|
|
|
services:
|
2022-05-14 20:45:28 +00:00
|
|
|
jekyll:
|
|
|
|
image: jekyll/jekyll:4.0
|
|
|
|
container_name: pages
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/robosats
|
|
|
|
command: bash -c "cd /usr/src/robosats/docs/
|
2022-10-25 18:04:12 +00:00
|
|
|
&& bundle install
|
2022-05-14 20:45:28 +00:00
|
|
|
&& bundle exec jekyll serve --force_polling -H 0.0.0.0 -P 4000"
|
|
|
|
ports:
|
|
|
|
- 4000:4000
|
|
|
|
|
2022-02-07 11:21:59 +00:00
|
|
|
redis:
|
2022-02-10 19:28:59 +00:00
|
|
|
image: redis:6.2.6
|
2022-02-07 11:21:59 +00:00
|
|
|
container_name: redis
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- redisdata:/data
|
2022-02-09 19:45:11 +00:00
|
|
|
network_mode: service:tor
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-02-07 13:37:16 +00:00
|
|
|
backend:
|
2023-11-15 19:48:04 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
DEVELOPMENT: True
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
2022-02-07 18:11:57 +00:00
|
|
|
container_name: django-dev
|
2022-02-07 11:21:59 +00:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2022-02-08 11:41:03 +00:00
|
|
|
- bitcoind
|
2022-02-09 19:45:11 +00:00
|
|
|
- lnd
|
2022-02-07 11:21:59 +00:00
|
|
|
- redis
|
|
|
|
environment:
|
2023-11-15 19:48:04 +00:00
|
|
|
DEVELOPMENT: True
|
2022-02-07 11:21:59 +00:00
|
|
|
volumes:
|
2022-02-07 18:11:57 +00:00
|
|
|
- .:/usr/src/robosats
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/lnd:/lnd
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/cln:/cln
|
2022-02-09 19:45:11 +00:00
|
|
|
network_mode: service:tor
|
2023-05-01 17:24:48 +00:00
|
|
|
command: python3 -u manage.py runserver 0.0.0.0:8000
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-02-07 13:37:16 +00:00
|
|
|
frontend:
|
2022-02-07 11:21:59 +00:00
|
|
|
build: ./frontend
|
|
|
|
container_name: npm-dev
|
|
|
|
restart: always
|
2022-04-22 14:45:49 +00:00
|
|
|
command: npm run dev
|
2022-02-07 11:21:59 +00:00
|
|
|
volumes:
|
2022-02-07 19:25:10 +00:00
|
|
|
- ./frontend:/usr/src/frontend
|
2022-09-28 12:08:16 +00:00
|
|
|
- ./mobile:/usr/src/mobile
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-08-22 16:51:23 +00:00
|
|
|
nodeapp: # Umbrel / Citadel app
|
|
|
|
build: ./nodeapp
|
|
|
|
container_name: nodeapp-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
TOR_PROXY_IP: 127.0.0.1
|
2022-08-22 23:18:31 +00:00
|
|
|
TOR_PROXY_PORT: 9050
|
2022-08-22 16:51:23 +00:00
|
|
|
network_mode: service:tor
|
2022-08-23 17:59:59 +00:00
|
|
|
volumes:
|
2023-05-12 11:04:41 +00:00
|
|
|
- ./nodeapp/:/usr/src/robosats/
|
|
|
|
- ./nodeapp/nginx.conf:/etc/nginx/nginx.conf
|
2023-10-27 10:01:59 +00:00
|
|
|
- ./nodeapp/coordinators/:/etc/nginx/conf.d/
|
2022-08-23 17:59:59 +00:00
|
|
|
- ./frontend/static:/usr/src/robosats/static
|
2022-08-22 16:51:23 +00:00
|
|
|
|
2022-02-07 13:37:16 +00:00
|
|
|
clean-orders:
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
|
|
|
pull_policy: never
|
2022-02-07 11:21:59 +00:00
|
|
|
restart: always
|
|
|
|
container_name: clord-dev
|
2023-05-15 09:46:59 +00:00
|
|
|
environment:
|
|
|
|
SKIP_COLLECT_STATIC: "true"
|
2022-02-07 18:11:57 +00:00
|
|
|
command: python3 manage.py clean_orders
|
2022-02-07 11:21:59 +00:00
|
|
|
volumes:
|
2022-02-07 18:11:57 +00:00
|
|
|
- .:/usr/src/robosats
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/lnd:/lnd
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/cln:/cln
|
2022-02-15 21:52:30 +00:00
|
|
|
network_mode: service:tor
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-02-07 13:37:16 +00:00
|
|
|
follow-invoices:
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
|
|
|
pull_policy: never
|
2022-02-07 11:21:59 +00:00
|
|
|
container_name: invo-dev
|
|
|
|
restart: always
|
2022-02-08 11:41:03 +00:00
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
2022-02-09 19:45:11 +00:00
|
|
|
- lnd
|
2023-05-15 09:46:59 +00:00
|
|
|
environment:
|
|
|
|
SKIP_COLLECT_STATIC: "true"
|
2022-02-07 11:21:59 +00:00
|
|
|
command: python3 manage.py follow_invoices
|
|
|
|
volumes:
|
2022-02-07 18:11:57 +00:00
|
|
|
- .:/usr/src/robosats
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/lnd:/lnd
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/cln:/cln
|
2022-02-21 23:41:36 +00:00
|
|
|
network_mode: service:tor
|
|
|
|
|
|
|
|
telegram-watcher:
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
|
|
|
pull_policy: never
|
2022-02-21 23:41:36 +00:00
|
|
|
container_name: tg-dev
|
|
|
|
restart: always
|
2023-05-15 09:46:59 +00:00
|
|
|
environment:
|
|
|
|
SKIP_COLLECT_STATIC: "true"
|
2022-02-21 23:41:36 +00:00
|
|
|
command: python3 manage.py telegram_watcher
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/robosats
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/lnd:/lnd
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/cln:/cln
|
2022-02-09 19:45:11 +00:00
|
|
|
network_mode: service:tor
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-09-13 13:12:01 +00:00
|
|
|
celery-worker:
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
|
|
|
pull_policy: never
|
2022-09-13 13:12:01 +00:00
|
|
|
container_name: cele-worker-dev
|
2022-02-07 11:21:59 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
2022-02-09 19:45:11 +00:00
|
|
|
REDIS_URL: redis://localhost:6379
|
2023-05-15 09:46:59 +00:00
|
|
|
SKIP_COLLECT_STATIC: "true"
|
2022-02-07 11:21:59 +00:00
|
|
|
volumes:
|
2022-02-07 18:11:57 +00:00
|
|
|
- .:/usr/src/robosats
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/lnd:/lnd
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/cln:/cln
|
2023-03-16 00:53:37 +00:00
|
|
|
command: celery -A robosats worker --loglevel=INFO --concurrency 4 --max-tasks-per-child=4 --max-memory-per-child=200000
|
2022-09-13 13:12:01 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
network_mode: service:tor
|
|
|
|
|
2022-10-25 18:04:12 +00:00
|
|
|
celery-beat:
|
2023-10-14 21:47:54 +00:00
|
|
|
image: backend-image
|
|
|
|
pull_policy: never
|
2022-09-13 13:12:01 +00:00
|
|
|
container_name: cele-beat-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
REDIS_URL: redis://localhost:6379
|
2023-05-15 09:46:59 +00:00
|
|
|
SKIP_COLLECT_STATIC: "true"
|
2022-09-13 13:12:01 +00:00
|
|
|
command: celery -A robosats beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
|
2022-09-15 15:42:33 +00:00
|
|
|
volumes:
|
|
|
|
- .:/usr/src/robosats
|
2023-05-22 14:56:15 +00:00
|
|
|
- ./node/lnd:/lnd
|
|
|
|
- ./node/cln:/cln
|
2022-09-13 13:12:01 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2022-02-09 19:45:11 +00:00
|
|
|
network_mode: service:tor
|
2022-02-07 11:21:59 +00:00
|
|
|
|
2022-06-25 19:26:45 +00:00
|
|
|
i2p:
|
|
|
|
image: geti2p/i2p
|
|
|
|
container_name: i2p-dev
|
2022-06-26 22:43:57 +00:00
|
|
|
network_mode: host
|
2022-06-25 19:26:45 +00:00
|
|
|
volumes:
|
2023-04-15 11:23:43 +00:00
|
|
|
- ./node/i2p/i2pconfig:/i2p/.i2p
|
2022-06-25 19:26:45 +00:00
|
|
|
|
2022-02-08 11:41:03 +00:00
|
|
|
tor:
|
|
|
|
build: ./docker/tor
|
|
|
|
container_name: tor-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
|
|
|
volumes:
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/tor/data:/var/lib/tor
|
|
|
|
- ./node/tor/config:/etc/tor
|
2022-02-09 15:21:51 +00:00
|
|
|
ports:
|
2022-08-22 16:51:23 +00:00
|
|
|
- 8000:8000 # dev frontend build
|
|
|
|
- 12596:12596 # umbrel frontend
|
2024-07-01 16:00:17 +00:00
|
|
|
- 888:888 # nostr
|
2022-02-09 15:21:51 +00:00
|
|
|
|
|
|
|
lnd:
|
|
|
|
build: ./docker/lnd
|
|
|
|
restart: always
|
|
|
|
network_mode: service:tor
|
|
|
|
container_name: lnd-dev
|
|
|
|
depends_on:
|
|
|
|
- tor
|
|
|
|
- bitcoind
|
|
|
|
volumes:
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/tor/data:/var/lib/tor
|
|
|
|
- ./node/tor/config:/etc/tor
|
|
|
|
- ./node/lnd:/home/lnd/.lnd
|
|
|
|
- ./node/lnd:/root/.lnd
|
2022-02-09 15:21:51 +00:00
|
|
|
command: lnd
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
|
|
|
LND_RPC_PORT: 10009
|
|
|
|
LND_REST_PORT: 8080
|
2022-02-09 20:51:05 +00:00
|
|
|
AUTO_UNLOCK_PWD: ${AUTO_UNLOCK_PWD}
|
2022-02-08 11:41:03 +00:00
|
|
|
|
2023-05-22 14:56:15 +00:00
|
|
|
cln:
|
|
|
|
build: ./docker/cln
|
|
|
|
restart: always
|
|
|
|
network_mode: service:tor
|
|
|
|
container_name: cln-dev
|
|
|
|
depends_on:
|
|
|
|
- tor
|
|
|
|
- bitcoind
|
|
|
|
# - postgres-cln
|
|
|
|
volumes:
|
|
|
|
- ./node/tor/data:/var/lib/tor
|
|
|
|
- ./node/tor/config:/etc/tor
|
|
|
|
- ./node/cln:/root/.lightning
|
|
|
|
- ./node/bitcoin:/root/.bitcoin
|
|
|
|
command: lightningd
|
|
|
|
|
2022-02-08 11:41:03 +00:00
|
|
|
bitcoind:
|
|
|
|
build: ./docker/bitcoind
|
|
|
|
container_name: btc-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
|
|
|
depends_on:
|
|
|
|
- tor
|
|
|
|
network_mode: service:tor
|
|
|
|
volumes:
|
2022-08-15 10:44:54 +00:00
|
|
|
- ./node/tor/data:/var/lib/tor:ro
|
|
|
|
- ./node/tor/config:/etc/tor:ro
|
|
|
|
- ./node/bitcoin:/home/bitcoin/.bitcoin
|
2022-10-25 18:04:12 +00:00
|
|
|
|
2022-02-20 01:13:51 +00:00
|
|
|
postgres:
|
|
|
|
image: postgres:14.2-alpine
|
|
|
|
container_name: sql-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: example
|
|
|
|
network_mode: service:tor
|
|
|
|
volumes:
|
2023-04-15 11:23:43 +00:00
|
|
|
- ./node/db:/var/lib/postgresql/data
|
2022-02-08 11:41:03 +00:00
|
|
|
|
2024-07-01 16:00:17 +00:00
|
|
|
rnostr:
|
|
|
|
build: https://github.com/rnostr/rnostr.git
|
|
|
|
container_name: rnostr-dev
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./nodeapp/rnostr/config/rnostr.toml:/rnostr/config/rnostr.toml:r
|
|
|
|
network_mode: service:tor
|
|
|
|
|
2023-05-22 14:56:15 +00:00
|
|
|
# # Postgresql for CLN
|
|
|
|
# postgres-cln:
|
|
|
|
# image: postgres:14.2-alpine
|
|
|
|
# container_name: cln-sql-dev
|
|
|
|
# restart: always
|
|
|
|
# environment:
|
|
|
|
# PGUSER: user
|
|
|
|
# PGDATABASE: cln
|
|
|
|
# POSTGRES_PASSWORD: pass
|
|
|
|
# PGPORT: 5433
|
|
|
|
# network_mode: service:tor
|
|
|
|
# volumes:
|
|
|
|
# - ./node/cln-db:/var/lib/postgresql/data
|
|
|
|
|
2022-02-07 11:21:59 +00:00
|
|
|
volumes:
|
2022-03-27 11:39:33 +00:00
|
|
|
redisdata:
|