-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
60 lines (54 loc) · 1.32 KB
/
docker-compose.yaml
File metadata and controls
60 lines (54 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# docker-compose.yml
version: '3.8'
services:
service-hosts:
image: service_hosts_py:latest
container_name: service-hosts
volumes:
- volume_service_hosts_py:/app/data
environment:
- DB=/app/data/hosts.debug.json
# ports:
# - "8001:8000"
service-auth:
image: service_auth_py:latest
container_name: service-auth
volumes:
- volume_service_auth_py:/app/data
environment:
- DB=/app/data/auth.debug.db
# ports:
# - "8002:8000"
service-sync:
image: service_sync:latest
container_name: service-sync
ports:
- "8765:8765"
service-gateway:
image: service_gateway_py:latest
container_name: service-gateway
environment:
- HOSTS_URL=http://service-hosts:8000
- AUTH_URL=http://service-auth:8000
- SYNC_OUTLET_URL=http://service-sync:8765
- SYNC_MAIN_URL=http:http://service-sync:8766
ports:
- "8000:8000"
depends_on:
- service-hosts
- service-auth
- service-sync
web-client-dashboard:
image: host-dashboard:latest
container_name: web-client-dashboard
environment:
- VITE_API_URL=http://service-gateway:8000
ports:
- "8080:8000"
depends_on:
- service-gateway
volumes:
volume_service_hosts_py:
external: true
volume_service_auth_py:
external: true