-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.override.yml
50 lines (47 loc) · 1.06 KB
/
docker-compose.override.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
version: '3'
services:
api:
build:
context: ./projects/api
dockerfile: dev.dockerfile
command: tail -f /dev/null
ports:
- "4000:4000"
volumes:
- ./projects/api:/usr/src/app
- /usr/src/app/_build
- /usr/src/app/deps
environment:
- VIRTUAL_HOST=api.margaret.localhost
- VIRTUAL_PORT=4000
env_file: .env
web:
build:
context: ./projects/web
dockerfile: dev.dockerfile
ports:
- "3000:3000"
# The storybook server.
- "6006:6006"
volumes:
- ./projects/web:/usr/src/app
- /usr/src/app/node_modules
environment:
- VIRTUAL_HOST=margaret.localhost
- VIRTUAL_PORT=3000
- NODE_ENV=development
env_file: .env
ml:
build:
context: ./projects/ml
dockerfile: dev.dockerfile
command: tail -f /dev/null
ports:
- "8000:8000"
volumes:
- ./projects/ml:/usr/src/app
environment:
- VIRTUAL_HOST=ml.margaret.localhost
- VIRTUAL_PORT=8000
- PYTHONBREAKPOINT=ipdb.set_trace
env_file: .env