-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1.04 KB
/
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
version: "3.9"
services:
backend-go:
build:
context: ./backend/go
dockerfile: Dockerfile
container_name: backend-go
volumes:
- ./backend/go/:/usr/app
ports:
- "${BACKEND_GO_PORT}:${BACKEND_GO_PORT}"
backend-node:
build:
context: ./backend/node
dockerfile: Dockerfile
container_name: backend-node
environment:
- MONGODB_URL
volumes:
- ./backend/node/:/usr/app
ports:
- "${BACKEND_NODE_PORT}:${BACKEND_NODE_PORT}"
backend-python:
build:
context: ./backend/python/security_header
dockerfile: Dockerfile
container_name: backend-python
volumes:
- ./backend/python/security_header/:/app
ports:
- "${BACKEND_PYTHON_PORT}:${BACKEND_PYTHON_PORT}"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend
depends_on:
- backend-go
- backend-node
- backend-python
volumes:
- ./frontend/:/usr/app
ports:
- "${FRONTEND_PORT}:${FRONTEND_PORT}"