-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.offline.yaml
52 lines (49 loc) · 1.36 KB
/
docker-compose.offline.yaml
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
services:
# Client App
entry-app:
extends:
file: docker-compose.base.yml
service: nx-app-base
command: npx nx run entry-app:serve --host=0.0.0.0
ports:
- ${CLIENT_PORT}:4200
# PORT for million lint
# - 42423:42423
environment:
- VITE_MODE=offline
- VITE_BE=${NGINX_DOMAIN}
- VITE_CLIENT_ID=${CLIENT_ID}
- VITE_FF_ENVIRONMENT=${FLAGSMITH_ENVIRONMENT}
# Node.js Server App
entry-server:
extends:
file: docker-compose.base.yml
service: nx-app-base
command: npx nx run entry-server:serve --host=0.0.0.0
ports:
- ${SERVER_PORT}:3000
environment:
- MODE=offline
- PORT=3000
- DB_URI=${DB_URI}
- REDIRECT_URL=${NGINX_DOMAIN}
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}
- LOGS_REDIRECT_URL=${LOGS_REDIRECT_URL}
- LOGS_CLIENT_ID=${LOGS_CLIENT_ID}
- LOGS_CLIENT_SECRET=${LOGS_CLIENT_SECRET}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- NOTION_API_KEY=${NOTION_API_KEY}
logs-app:
extends:
file: docker-compose.base.yml
service: nx-app-base
command: npx nx run logs-app:serve --host=0.0.0.0
ports:
- ${LOGS_PORT}:4200
environment:
- VITE_BE=${NGINX_DOMAIN}
- VITE_CLIENT_ID=${LOGS_CLIENT_ID}
volumes:
mono-node-modules: null