-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (90 loc) · 1.69 KB
/
Copy pathdocker-compose.yml
File metadata and controls
93 lines (90 loc) · 1.69 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
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
services:
# WEB
web:
build:
context: .
dockerfile: apps/web/Dockerfile
environment:
- NODE_ENV=production
ports:
- "3000:3000"
env_file:
- .env
- apps/web/.env
# CALC SERVER
calc:
build:
context: .
dockerfile: apps/calc_server/Dockerfile
environment:
- NODE_ENV=production
- PORT=8000
ports:
- "8000:8000"
env_file:
- .env
- apps/calc_server/.env
# MARKET SERVER
market:
build:
context: .
dockerfile: apps/market_server/Dockerfile
environment:
- NODE_ENV=production
- PORT=5000
ports:
- "5000:5000"
env_file:
- .env
- apps/market_server/.env
# AUTH SERVER
auth:
build:
context: .
dockerfile: apps/auth_server/Dockerfile
environment:
- NODE_ENV=production
- PORT=4000
ports:
- "4000:4000"
env_file:
- .env
- apps/auth_server/.env
# API SERVER
api:
build:
context: .
dockerfile: apps/api_server/Dockerfile
environment:
- NODE_ENV=production
- PORT=3004
ports:
- "3004:3004"
env_file:
- .env
- apps/api_server/.env
# CODE SERVER
code:
build:
context: .
dockerfile: apps/code_server/Dockerfile
environment:
- NODE_ENV=production
- PORT=2000
ports:
- "2000:2000"
env_file:
- .env
- apps/code_server/.env
# REDIS
redis:
image: redis:7-alpine
ports:
- "6379:6379"
restart: unless-stopped
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
volumes:
- redis-data:/data
volumes:
redis-data:
driver: local