-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 989 Bytes
/
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
version: '3.9'
services:
api_climbing:
build: ./api-climbing
container_name: api
ports:
- 8080:8080
volumes:
- ./api-climbing:/app
- /node_modules
- ./.env:/app/.env
- /Users/michaelbarr/.aws:/.aws
depends_on:
- db_climbing
environment:
- NODE_ENV=development
networks:
- climbing_network
frontend_climbing:
build: ./frontend-climb
container_name: frontend
ports:
- 3000:3000
volumes:
- ./frontend-climb:/app
- /node_modules
depends_on:
- api_climbing
networks:
- climbing_network
environment:
- NODE_ENV=development
db_climbing:
image: mongo:latest
container_name: climbing_db
ports:
- 27018:27017
volumes:
- mongodb_data_container:/data/db
networks:
- climbing_network
command: mongod --quiet --logpath /dev/null
volumes:
mongodb_data_container:
networks:
climbing_network:
driver: bridge