-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·47 lines (47 loc) · 1.12 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
version: '3.8'
services:
frontend:
build:
context: .
dockerfile: Dockerfile_Frontend
ports:
- "1000:1000"
container_name: frontend
environment:
- VUE_APP_API_HOST_NAME=https://easy123.plenartech.com:1002
- VUE_APP_ENV=development
depends_on:
- backend
backend:
build:
context: .
dockerfile: Dockerfile_Backend
ports:
- "1002:2000"
container_name: backend
environment:
- FRONT_URL=https://easy123.plenartech.com/
- DOCKER=1
- NODE_LOCAL_HOST=false
- MJ_APIKEY_PUBLIC=da8c89436c3b7b0d8cc27023ff6ca9a8
- MJ_APIKEY_PRIVATE=9cab25ffd9105b967bc77aec80228e02
- MJ_SENDER_NAME="Easy123 - Dev"
- JWT_SECRET=QuOFSdpixAi46DViKzGiiboX3VriWzQV
- NODE_APP_ENV=development
volumes:
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- database
database:
image: mongo
environment:
- DOCKER=1
container_name: mongo-db
volumes:
- mongodb:/data/db
ports:
- "27019:27017"
restart: always
volumes:
mongodb: