forked from bedrockio/bedrock-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 964 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
services:
api:
environment:
- MONGO_URI=mongodb://mongo/bedrock_dev
build:
context: ./services/api
args:
NODE_ENV: development
command: yarn start
volumes:
- ./services/api/src:/service/src
- ./services/api/emails:/service/emails
- ./services/api/fixtures:/service/fixtures
- ./services/api/scripts:/service/scripts
- ./services/api/.env:/service/.env
- ./services/api/openapi:/service/openapi
ports:
- "2300:2300"
links:
- mongo
depends_on:
- mongo
web:
build:
context: ./services/web
dockerfile: Dockerfile.dev
args:
NODE_ENV: development
command: yarn start
volumes:
- ./services/web/src:/service/src
ports:
- "2200:2200"
depends_on:
- api
mongo:
image: mongo:7.0.8
command: mongod --quiet --logpath /dev/null
logging:
driver: none
ports:
- 27017:27017