-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 860 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 860 Bytes
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
services:
mongo:
image: mongo:7
container_name: tmam-mongo
restart: always
ports:
- "27018:27017"
volumes:
- mongo-data:/data/db
- ./mongo-init:/docker-entrypoint-initdb.d
server:
build: ./server
container_name: tmam-server
restart: always
ports:
- "5050:5050"
env_file:
- ./server/src/.env
depends_on:
- mongo
web-client:
build: ./web-client
container_name: tmam-web
restart: always
ports:
- "3001:3001"
env_file:
- ./web-client/.env
depends_on:
- server
# nginx:
# image: nginx:alpine
# container_name: tmam-nginx
# ports:
# - "443:443"
# volumes:
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./nginx/certs:/etc/nginx/certs
# depends_on:
# - web-client
volumes:
mongo-data: