robosats/docker-compose.yml

190 lines
4.2 KiB
YAML
Raw Normal View History

version: '3.9'
services:
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
&& bundle exec jekyll serve --force_polling -H 0.0.0.0 -P 4000"
ports:
- 4000:4000
redis:
image: redis:6.2.6
container_name: redis
restart: always
volumes:
- redisdata:/data
network_mode: service:tor
2022-02-07 13:37:16 +00:00
backend:
build: .
2022-06-07 22:14:56 +00:00
image: backend
2022-02-07 18:11:57 +00:00
container_name: django-dev
restart: always
depends_on:
2022-02-08 11:41:03 +00:00
- bitcoind
- lnd
- redis
environment:
2022-02-07 18:11:57 +00:00
DEVELOPMENT: 1
volumes:
2022-02-07 18:11:57 +00:00
- .:/usr/src/robosats
2022-08-15 10:44:54 +00:00
- ./node/lnd:/lnd
network_mode: service:tor
command: python3 -u manage.py runserver 0.0.0.0:8000
2022-02-07 13:37:16 +00:00
frontend:
build: ./frontend
container_name: npm-dev
restart: always
command: npm run dev
volumes:
2022-02-07 19:25:10 +00:00
- ./frontend:/usr/src/frontend
- ./mobile:/usr/src/mobile
nodeapp: # Umbrel / Citadel app
build: ./nodeapp
container_name: nodeapp-dev
restart: always
environment:
TOR_PROXY_IP: 127.0.0.1
TOR_PROXY_PORT: 9050
Add turtle chat component Squashed commit of the following: commit f60870fcfe574dc4ab1343e25241b6ef7cc2721b Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Thu Nov 10 10:30:42 2022 -0800 Fix internal error when entering chat commit f1eeb49f2a86575eb2e85cdff20460276e71b806 Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Tue Nov 8 10:08:22 2022 -0800 Fix final serializer commit d0c08ba6ad4378a9539c0be83b6f4f8b958b532e Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Tue Nov 8 09:44:57 2022 -0800 Chat API changes commit a66bf64edc06d936612db6bf75476b54e6a84334 Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Tue Nov 8 09:28:29 2022 -0800 Fix param on post commit 60b18d13c2ec625497323371a2a6f64c9c911e47 Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Tue Nov 8 08:56:25 2022 -0800 Fix serializer commit 11212d30eeffde37e07d2e6e5c1fb36df46916ad Author: KoalaSat <yv1vtrul@duck.com> Date: Sun Nov 6 21:07:18 2022 +0100 CR 2 commit c82790cb81dd9919de97c39f2553974784ffe92d Author: KoalaSat <yv1vtrul@duck.com> Date: Sun Nov 6 20:09:18 2022 +0100 Fix commit 605a3b69a1fcf795e45b2acba1e12436f8545f8a Author: KoalaSat <yv1vtrul@duck.com> Date: Sun Nov 6 14:44:42 2022 +0100 CR commit 09776e9c8fa85c253f28c75361829dab5df4d978 Author: KoalaSat <yv1vtrul@duck.com> Date: Wed Nov 2 18:12:29 2022 +0100 translations commit 432e4d23991164b164d2ab3e4f31790a992dc601 Author: KoalaSat <yv1vtrul@duck.com> Date: Wed Nov 2 17:39:02 2022 +0100 Switch and better UX commit df6e476613006f6a861bab68f8a4261bc8f641e0 Author: KoalaSat <yv1vtrul@duck.com> Date: Tue Nov 1 18:20:01 2022 +0100 Unused code commit 5b8d6b4d32980e31bb1d682444b53df1a8e16c47 Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Mon Oct 31 09:20:20 2022 -0700 Add Chat Turtle Mode
2022-11-11 09:28:09 +00:00
ROBOSATS_ONION: robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion
network_mode: service:tor
volumes:
- ./frontend/static:/usr/src/robosats/static
2022-02-07 13:37:16 +00:00
clean-orders:
2022-06-07 22:14:56 +00:00
image: backend
restart: always
container_name: clord-dev
2022-02-07 18:11:57 +00:00
command: python3 manage.py clean_orders
volumes:
2022-02-07 18:11:57 +00:00
- .:/usr/src/robosats
2022-08-15 10:44:54 +00:00
- ./node/lnd:/lnd
network_mode: service:tor
2022-02-07 13:37:16 +00:00
follow-invoices:
2022-06-07 22:14:56 +00:00
image: backend
container_name: invo-dev
restart: always
2022-02-08 11:41:03 +00:00
depends_on:
- bitcoind
- lnd
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
network_mode: service:tor
telegram-watcher:
2022-06-07 22:14:56 +00:00
image: backend
container_name: tg-dev
restart: always
command: python3 manage.py telegram_watcher
volumes:
- .:/usr/src/robosats
2022-08-15 10:44:54 +00:00
- ./node/lnd:/lnd
network_mode: service:tor
celery-worker:
2022-06-07 22:14:56 +00:00
image: backend
container_name: cele-worker-dev
restart: always
environment:
REDIS_URL: redis://localhost:6379
volumes:
2022-02-07 18:11:57 +00:00
- .:/usr/src/robosats
2022-08-15 10:44:54 +00:00
- ./node/lnd:/lnd
command: celery -A robosats worker --loglevel=WARNING
depends_on:
- redis
network_mode: service:tor
2022-10-25 18:04:12 +00:00
celery-beat:
image: backend
container_name: cele-beat-dev
restart: always
environment:
REDIS_URL: redis://localhost:6379
command: celery -A robosats beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
volumes:
- .:/usr/src/robosats
depends_on:
- redis
network_mode: service:tor
2022-06-25 19:26:45 +00:00
i2p:
image: geti2p/i2p
container_name: i2p-dev
network_mode: host
2022-06-25 19:26:45 +00:00
volumes:
- ./docker/i2p/i2pconfig:/i2p/.i2p
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:
- 8000:8000 # dev frontend build
- 12596:12596 # umbrel frontend
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
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:
- ./db:/var/lib/postgresql/data
2022-02-08 11:41:03 +00:00
volumes:
redisdata: