-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
76 lines (70 loc) · 1.43 KB
/
docker-compose.yml
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
version: '3'
services:
# mongo:
# image: mongo:latest
# container_name: "mongodb"
# volumes:
# - ./data:/data
# ports:
# - 27017:27017
# command: mongod
server:
build:
context: ./NestJsServer
expose:
- 3000
environment:
API_HOST: "http://localhost:3000"
APP_SERVER_PORT: 3000
ports:
- 3000:3000
volumes:
- ./NestJsServer/src:/srv/app/server/src
command: npm start
# depends_on:
# - mongo
socket:
build:
context: ./NestJsServer
expose:
- 3001
environment:
API_HOST: "http://localhost:3001"
APP_SERVER_PORT: 3001
ports:
- 3001:3001
volumes:
- ./NestJsServer/src:/srv/app/server/src
command: npm start
# depends_on:
# - mongo
extension:
build:
context: ./components/web-marker
environment:
FRONTEND_PORT: 8080
API_HOST: "http://localhost:8080"
expose:
- 8080
ports:
- 8080:8080
volumes:
- ./components/web-marker/src:/srv/app/client/src
links:
- server
command: npm start
# client:
# build:
# context: ./WebMarkerClient
# environment:
# FRONTEND_PORT: 8081
# API_HOST: "http://localhost:8081"
# expose:
# - 8081
# ports:
# - 8081:8081
# volumes:
# - ./WebMarkerClient/src:/srv/app/extension/src
# links:
# - server
# command: npm start