forked from tianqizzz/Tap-News
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (43 loc) · 868 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (43 loc) · 868 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
version: "3"
services:
redis:
image: redis:latest
ports:
- "6379:6379"
mongo:
image: mongo:latest
ports:
- "27017:27017"
tap-news-backend-server:
build: ./app
depends_on:
- redis
ports:
- "4040:4040"
- "4041:4041"
volumes:
- ./app:/usr/src/app
tap-news-web-server:
build: ./web_server/server
depends_on:
- tap-news-backend-server
ports:
- "3000:3000"
volumes:
- ./web_server/server:/usr/src/server
tap-news-web-front-end:
build: ./web_server/client
depends_on:
- tap-news-web-server
ports:
- "3001:3001"
volumes:
- ./web_server/client:/usr/src/client
# networks:
# default:
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: "192.168.0.0/24"
# gateway: "192.168.0.1"