-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (46 loc) · 1.08 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
version: "3.7"
services:
das-mongo:
image: "mongo:6.0.5"
container_name: das-mongodb
restart: always
volumes:
- "./db/data/db-files:/data/db"
- "./db/init/:/docker-entrypoint-initdb.d/"
ports:
- "27017:27017"
das-ui:
container_name: das-ui
restart: on-failure
build:
context: .
dockerfile: ./apps/ui/das-ui/Dockerfile
ports:
- "8080:80"
das-api:
container_name: das-api
restart: always
build:
context: .
dockerfile: ./apps/webapi/das-api/Dockerfile
volumes:
- .:/app
environment:
- NODE_ENV="development"
- APP_PORT=3000
- APP_NAME="Dashboard Starter Data"
- API_PREFIX=das-api
- APP_FALLBACK_LANGUAGE=en
- APP_HEADER_LANGUAGE=x-custom-lang
- MONGO_URI=mongodb://das-mongo:27017
- MONGO_DB_NAME=das
command: yarn start-api
ports:
- "3000:3000"
- "8081:8081" # for socket.io events gateway
- "9230:9229"
depends_on: [das-mongo]
networks:
das-network:
name: das-network
driver: bridge