-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.12 KB
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
services:
app:
container_name: koala_recommender_app
build:
context: .
dockerfile: Dockerfile
target: base
args:
- PORT=${PORT-3000}
user: node
tty: true
working_dir: /home/node/app
volumes:
- ./:/home/node/app
ports:
- ${PORT-3000}:${PORT-3000}
networks:
- koala_network
restart: unless-stopped
mongod:
image: mongodb/mongodb-atlas-local:8
container_name: koala_recommender_mongod
ports:
- '27017:27017'
networks:
- koala_network
volumes:
- koala_mongo_data:/data/db
- koala_mongo_config:/data/configdb
hostname: mongod
dev:
container_name: koala_recommender_dev
build:
context: .
dockerfile: Dockerfile
target: base
args:
- PORT=${PORT-3000}
user: node
tty: true
working_dir: /home/node/app
volumes:
- ./:/home/node/app
networks:
- koala_network
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
koala_network:
driver: bridge
volumes:
koala_mongo_data:
koala_mongo_config: