2022-02-07 14:21:59 +03:00
|
|
|
version: '3.9'
|
|
|
|
services:
|
2022-05-14 23:45:28 +03:00
|
|
|
jekyll:
|
|
|
|
image: jekyll/jekyll:4.0
|
|
|
|
container_name: pages
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/robosats
|
|
|
|
command: bash -c "cd /usr/src/robosats/docs/
|
|
|
|
&& bundle install
|
|
|
|
&& bundle exec jekyll serve --force_polling -H 0.0.0.0 -P 4000"
|
|
|
|
ports:
|
|
|
|
- 4000:4000
|
|
|
|
|
2022-02-07 14:21:59 +03:00
|
|
|
redis:
|
2022-02-10 22:28:59 +03:00
|
|
|
image: redis:6.2.6
|
2022-02-07 14:21:59 +03:00
|
|
|
container_name: redis
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- redisdata:/data
|
2022-02-09 22:45:11 +03:00
|
|
|
network_mode: service:tor
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-02-07 16:37:16 +03:00
|
|
|
backend:
|
2022-02-07 14:21:59 +03:00
|
|
|
build: .
|
2022-06-08 01:14:56 +03:00
|
|
|
image: backend
|
2022-02-07 21:11:57 +03:00
|
|
|
container_name: django-dev
|
2022-02-07 14:21:59 +03:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2022-02-08 14:41:03 +03:00
|
|
|
- bitcoind
|
2022-02-09 22:45:11 +03:00
|
|
|
- lnd
|
2022-02-07 14:21:59 +03:00
|
|
|
- redis
|
|
|
|
environment:
|
2022-02-07 21:11:57 +03:00
|
|
|
DEVELOPMENT: 1
|
2022-02-07 14:21:59 +03:00
|
|
|
volumes:
|
2022-02-07 21:11:57 +03:00
|
|
|
- .:/usr/src/robosats
|
2022-02-09 22:45:11 +03:00
|
|
|
- /mnt/development/lnd:/lnd
|
|
|
|
network_mode: service:tor
|
2022-05-23 14:21:01 +03:00
|
|
|
command: python3 -u manage.py runserver 0.0.0.0:8000
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-02-07 16:37:16 +03:00
|
|
|
frontend:
|
2022-02-07 14:21:59 +03:00
|
|
|
build: ./frontend
|
|
|
|
container_name: npm-dev
|
|
|
|
restart: always
|
2022-04-22 17:45:49 +03:00
|
|
|
command: npm run dev
|
2022-02-07 14:21:59 +03:00
|
|
|
volumes:
|
2022-02-07 22:25:10 +03:00
|
|
|
- ./frontend:/usr/src/frontend
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-02-07 16:37:16 +03:00
|
|
|
clean-orders:
|
2022-06-08 01:14:56 +03:00
|
|
|
image: backend
|
2022-02-07 14:21:59 +03:00
|
|
|
restart: always
|
|
|
|
container_name: clord-dev
|
2022-02-07 21:11:57 +03:00
|
|
|
command: python3 manage.py clean_orders
|
2022-02-07 14:21:59 +03:00
|
|
|
volumes:
|
2022-02-07 21:11:57 +03:00
|
|
|
- .:/usr/src/robosats
|
2022-03-02 15:57:52 +03:00
|
|
|
- /mnt/development/lnd:/lnd
|
2022-02-16 00:52:30 +03:00
|
|
|
network_mode: service:tor
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-02-07 16:37:16 +03:00
|
|
|
follow-invoices:
|
2022-06-08 01:14:56 +03:00
|
|
|
image: backend
|
2022-02-07 14:21:59 +03:00
|
|
|
container_name: invo-dev
|
|
|
|
restart: always
|
2022-02-08 14:41:03 +03:00
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
2022-02-09 22:45:11 +03:00
|
|
|
- lnd
|
2022-02-07 14:21:59 +03:00
|
|
|
command: python3 manage.py follow_invoices
|
|
|
|
volumes:
|
2022-02-07 21:11:57 +03:00
|
|
|
- .:/usr/src/robosats
|
2022-02-22 02:41:36 +03:00
|
|
|
- /mnt/development/lnd:/lnd
|
|
|
|
network_mode: service:tor
|
|
|
|
|
|
|
|
telegram-watcher:
|
2022-06-08 01:14:56 +03:00
|
|
|
image: backend
|
2022-02-22 02:41:36 +03:00
|
|
|
container_name: tg-dev
|
|
|
|
restart: always
|
|
|
|
command: python3 manage.py telegram_watcher
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/robosats
|
2022-02-09 23:51:05 +03:00
|
|
|
- /mnt/development/lnd:/lnd
|
2022-02-09 22:45:11 +03:00
|
|
|
network_mode: service:tor
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-02-07 16:37:16 +03:00
|
|
|
celery:
|
2022-06-08 01:14:56 +03:00
|
|
|
image: backend
|
2022-02-10 22:28:59 +03:00
|
|
|
container_name: cele-dev
|
2022-02-07 14:21:59 +03:00
|
|
|
restart: always
|
|
|
|
command: celery -A robosats worker --beat -l info -S django
|
|
|
|
environment:
|
2022-02-09 22:45:11 +03:00
|
|
|
REDIS_URL: redis://localhost:6379
|
2022-02-07 14:21:59 +03:00
|
|
|
volumes:
|
2022-02-07 21:11:57 +03:00
|
|
|
- .:/usr/src/robosats
|
2022-04-16 02:26:39 +03:00
|
|
|
- /mnt/development/lnd:/lnd
|
2022-02-09 22:45:11 +03:00
|
|
|
network_mode: service:tor
|
2022-02-07 14:21:59 +03:00
|
|
|
|
2022-06-25 22:26:45 +03:00
|
|
|
i2p:
|
|
|
|
image: geti2p/i2p
|
|
|
|
container_name: i2p-dev
|
2022-06-27 01:43:57 +03:00
|
|
|
network_mode: host
|
2022-06-25 22:26:45 +03:00
|
|
|
volumes:
|
|
|
|
- ./docker/i2p/i2pconfig:/i2p/.i2p
|
|
|
|
|
2022-02-08 14:41:03 +03:00
|
|
|
tor:
|
|
|
|
build: ./docker/tor
|
|
|
|
container_name: tor-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
|
|
|
volumes:
|
|
|
|
- /mnt/development/tor/data:/var/lib/tor
|
|
|
|
- /mnt/development/tor/config:/etc/tor
|
2022-02-09 18:21:51 +03:00
|
|
|
ports:
|
2022-02-09 22:45:11 +03:00
|
|
|
- 8000:8000
|
2022-02-09 18:21:51 +03:00
|
|
|
|
|
|
|
lnd:
|
|
|
|
build: ./docker/lnd
|
|
|
|
restart: always
|
|
|
|
network_mode: service:tor
|
|
|
|
container_name: lnd-dev
|
|
|
|
depends_on:
|
|
|
|
- tor
|
|
|
|
- bitcoind
|
|
|
|
volumes:
|
|
|
|
- /mnt/development/tor/data:/var/lib/tor
|
|
|
|
- /mnt/development/tor/config:/etc/tor
|
|
|
|
- /mnt/development/lnd:/home/lnd/.lnd
|
|
|
|
- /mnt/development/lnd:/root/.lnd
|
|
|
|
command: lnd
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
|
|
|
LND_RPC_PORT: 10009
|
|
|
|
LND_REST_PORT: 8080
|
2022-02-09 23:51:05 +03:00
|
|
|
AUTO_UNLOCK_PWD: ${AUTO_UNLOCK_PWD}
|
2022-02-08 14:41:03 +03: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:
|
|
|
|
- /mnt/development/tor/data:/var/lib/tor:ro
|
|
|
|
- /mnt/development/tor/config:/etc/tor:ro
|
|
|
|
- /mnt/development/bitcoin:/home/bitcoin/.bitcoin
|
2022-02-20 04:13:51 +03:00
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:14.2-alpine
|
|
|
|
container_name: sql-dev
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: example
|
|
|
|
network_mode: service:tor
|
|
|
|
volumes:
|
|
|
|
- ./db:/var/lib/postgresql/data
|
2022-02-08 14:41:03 +03:00
|
|
|
|
2022-02-07 14:21:59 +03:00
|
|
|
volumes:
|
2022-03-27 14:39:33 +03:00
|
|
|
redisdata:
|