2022-09-13 16:34:33 +03:00
|
|
|
version: '3.9'
|
2023-05-12 14:04:41 +03:00
|
|
|
# Frontend and node client development orchestration
|
2024-09-17 16:14:43 +03:00
|
|
|
name: robosats-nodeapp-frontend
|
2022-09-13 16:34:33 +03:00
|
|
|
services:
|
2023-05-12 14:04:41 +03:00
|
|
|
frontend:
|
|
|
|
build: ../frontend
|
2024-09-17 16:14:43 +03:00
|
|
|
container_name: nodeapp-dev-frontend
|
2023-05-12 14:04:41 +03:00
|
|
|
restart: always
|
|
|
|
command: npm run dev
|
|
|
|
|
2024-09-17 16:14:43 +03:00
|
|
|
nginx:
|
2023-05-12 14:04:41 +03:00
|
|
|
build: .
|
2024-09-17 16:14:43 +03:00
|
|
|
container_name: nodeapp-dev-nginx
|
2022-09-13 16:34:33 +03:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
TOR_PROXY_IP: 127.0.0.1
|
|
|
|
TOR_PROXY_PORT: 9050
|
|
|
|
network_mode: service:tor
|
2023-05-12 14:04:41 +03:00
|
|
|
volumes:
|
|
|
|
- ./:/usr/src/robosats/
|
|
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
2023-10-27 13:01:59 +03:00
|
|
|
- ./coordinators/:/etc/nginx/conf.d/
|
2023-05-12 14:04:41 +03:00
|
|
|
|
2022-09-13 16:34:33 +03:00
|
|
|
tor:
|
|
|
|
build: ../docker/tor
|
2024-09-17 16:14:43 +03:00
|
|
|
container_name: nodeapp-dev-tor
|
2022-09-13 16:34:33 +03:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
LOCAL_USER_ID: 1000
|
|
|
|
LOCAL_GROUP_ID: 1000
|
2023-05-12 14:04:41 +03:00
|
|
|
volumes:
|
|
|
|
- ../node/tor/data:/var/lib/tor
|
|
|
|
- ../node/tor/config:/etc/tor
|
2022-09-13 16:34:33 +03:00
|
|
|
ports:
|
|
|
|
- 12596:12596
|