-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
94 lines (93 loc) · 2.52 KB
/
docker-compose.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3"
services:
mongo:
image: mongo:latest
ports:
- "27017:27017"
proxy:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./services/default.conf.template:/etc/nginx/templates/default.conf.template
extra_hosts:
- "host.docker.internal:host-gateway"
auth-service:
build: ./services/auth-service
ports:
- "1337:1337"
depends_on:
- mongo
environment:
- clientSecret=super-secret-secret-that-should-be-regenerated-for-production
- appURL=http://localhost
- fusionAuthURL=http://localhost:9011
- internalFusionAuthURL=http://host.docker.internal:9011
extra_hosts:
- "host.docker.internal:host-gateway"
frontend-default:
build:
context: ./frontend
ports:
- "5173:3000"
environment:
- VITE_TENANT=default
- VITE_TENANT_CLIENT_ID=e9fdb985-9173-4e01-9d73-ac2d60d1dc8e
- VITE_TENANT_LOGO=/default-logo.png
- VITE_TENANT_BACKGROUNDCOLOR=#FFFFFF
- VITE_BACKEND_URL=http://localhost/api
frontend-adac:
build:
context: ./frontend
ports:
- "5174:3000"
environment:
- VITE_TENANT=adac
- VITE_TENANT_CLIENT_ID=94c28eba-0d7c-4acb-844a-9d5259a34652
- VITE_TENANT_LOGO=/adac-logo.png
- VITE_TENANT_BACKGROUNDCOLOR=#FFFF00
- VITE_BACKEND_URL=http://localhost/api
pin-service:
build: ./services/pin-service
ports:
- "3002:3002"
depends_on:
- mongo
environment:
- MONGODB_URI=mongodb://mongo:27017
- internalFusionAuthURL=http://host.docker.internal:9011
extra_hosts:
- "host.docker.internal:host-gateway"
heatmap-service:
build: ./services/heatmap-service
ports:
- "3003:3003"
depends_on:
- mongo
environment:
- MONGODB_URI=mongodb://mongo:27017
- internalFusionAuthURL=http://host.docker.internal:9011
extra_hosts:
- "host.docker.internal:host-gateway"
analytics-service:
build: ./services/analytics-service
ports:
- "3004:3004"
depends_on:
- mongo
environment:
- MONGODB_URI=mongodb://mongo:27017
- internalFusionAuthURL=http://host.docker.internal:9011
extra_hosts:
- "host.docker.internal:host-gateway"
update-service:
build: ./services/update-service
ports:
- "3005:3005"
depends_on:
- mongo
environment:
- MONGODB_URI=mongodb://mongo:27017
- internalFusionAuthURL=http://host.docker.internal:9011
extra_hosts:
- "host.docker.internal:host-gateway"