mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 11:26:24 +00:00
2092a33f88
* Simplify and optimize nodeapp * Add pro frontend
36 lines
805 B
YAML
36 lines
805 B
YAML
version: '3.9'
|
|
services:
|
|
frontend:
|
|
build: ../frontend
|
|
container_name: npm-dev
|
|
restart: always
|
|
command: npm run dev
|
|
volumes:
|
|
- ../frontend:/usr/src/frontend
|
|
- ../mobile:/usr/src/mobile
|
|
|
|
nodeapp:
|
|
build: .
|
|
container_name: nodeapp-dev
|
|
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
|
|
- ../frontend/static:/usr/src/robosats/static
|
|
|
|
tor:
|
|
build: ../docker/tor
|
|
container_name: tor-dev
|
|
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 |