-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.production.yml
More file actions
48 lines (44 loc) · 1.08 KB
/
docker-compose.production.yml
File metadata and controls
48 lines (44 loc) · 1.08 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
version: '3.8'
services:
web:
image: ${DOCKERHUB_IMAGE_PREFIX}-web:${IMAGE_TAG:-latest}
restart: unless-stopped
ports:
- "4000:3000"
environment:
- NODE_ENV=production
- API_URL=${API_URL}
- WS_URL=${WS_URL}
- BROWSER_URL=${BROWSER_URL}
- NEXT_PUBLIC_HTTP_URL=${API_URL}
- NEXT_PUBLIC_WS_URL=${WS_URL}
networks:
- creo_network
http-server:
image: ${DOCKERHUB_IMAGE_PREFIX}-http-server:${IMAGE_TAG:-latest}
restart: unless-stopped
ports:
- "4001:4001"
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- JWT_SECRET=${JWT_SECRET}
- PORT=4001
- FRONTEND_URL=${FRONTEND_URL}
networks:
- creo_network
ws-server:
image: ${DOCKERHUB_IMAGE_PREFIX}-ws-server:${IMAGE_TAG:-latest}
restart: unless-stopped
ports:
- "4002:4002"
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- JWT_SECRET=${JWT_SECRET}
- PORT=4002
networks:
- creo_network
networks:
creo_network:
driver: bridge