-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
executable file
·52 lines (48 loc) · 1.02 KB
/
docker-compose.dev.yml
File metadata and controls
executable file
·52 lines (48 loc) · 1.02 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
version: '3.8'
services:
api:
build:
context: ./api
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- ./api/src:/app/src
- /app/node_modules
env_file: .env
environment:
- NODE_ENV=development
- DEBUG=text2iac:*
command: npm run dev
networks:
- text2iac-network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "3001:3000"
volumes:
- ./frontend/src:/app/src
- /app/node_modules
environment:
- NODE_ENV=development
- REACT_APP_API_URL=http://localhost:3000
networks:
- text2iac-network
email-bridge:
build:
context: ./email-bridge
dockerfile: Dockerfile.dev
volumes:
- ./email-bridge/src:/app/src
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- FLASK_DEBUG=1
command: python -m flask run --host=0.0.0.0 --port=5000
networks:
- text2iac-network
networks:
text2iac-network:
driver: bridge