mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 10:56:24 +00:00
35 lines
821 B
YAML
35 lines
821 B
YAML
version: '3.9'
|
|
# Frontend and node client development orchestration
|
|
name: robosats-nodeapp-frontend
|
|
services:
|
|
frontend:
|
|
build: ../frontend
|
|
container_name: nodeapp-dev-frontend
|
|
restart: always
|
|
command: npm run dev
|
|
|
|
nginx:
|
|
build: .
|
|
container_name: nodeapp-dev-nginx
|
|
restart: always
|
|
environment:
|
|
TOR_PROXY_IP: 127.0.0.1
|
|
TOR_PROXY_PORT: 9050
|
|
network_mode: service:tor
|
|
volumes:
|
|
- ./:/usr/src/robosats/
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
- ./coordinators/:/etc/nginx/conf.d/
|
|
|
|
tor:
|
|
build: ../docker/tor
|
|
container_name: nodeapp-dev-tor
|
|
restart: always
|
|
environment:
|
|
LOCAL_USER_ID: 1000
|
|
LOCAL_GROUP_ID: 1000
|
|
volumes:
|
|
- ../node/tor/data:/var/lib/tor
|
|
- ../node/tor/config:/etc/tor
|
|
ports:
|
|
- 12596:12596 |