-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.13 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
# WARNING: this file is not suitable for production, please use with caution
version: '3'
services:
nodejs:
container_name: gpad_pwa
build:
context: .
dockerfile: Dockerfile-node
env_file:
- .env
volumes:
- './pwa:/app'
- '/app/node_modules'
ports:
- 3001:3000
environment:
- CHOKIDAR_USEPOLLING=true
api:
container_name: gpad_api
image: api
build: .
command: gunicorn --reload -b 0.0.0.0:5555 api.wsgi:app
env_file:
- .env
volumes:
- ./Makefile:/code/Makefile
- ./api:/code/api
- ./data:/code/data
- ./logs:/code/logs
ports:
- "5555:5555"
- "5000:5000"
mongo:
image: mongo:5.0
restart: always
volumes:
- ./init-db:/docker-entrypoint-initdb.d
- ./db:/data/db
ports:
- "27019:27017"
# PowerBI integration service
# mongobi:
# build:
# context: .
# dockerfile: Dockerfile-mongobi
# environment:
# MONGODB_HOST: host.docker.internal
# MONGODB_PORT: 27019
# ports:
# - 3307:3307