-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.07 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
version: '3'
services:
flask:
container_name: flask
build:
context: ./Flask
dockerfile: Dockerfile
ports:
- "5000:5000"
volumes:
- ./Flask:/usr/src/app/flask
conductor-mixonat:
container_name: conductor-mixonat
build:
context: ./Conductor
dockerfile: Dockerfile
ports:
- "9000:9000"
depends_on:
- postgres
volumes:
- ./Conductor:/usr/src/app/conductor-mixonat
react-mixonat:
container_name: react-mixonat
build:
context: ./react/my-app
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- conductor-mixonat
volumes:
- ./react/my-app:/usr/src/app/react-mixonat
- /usr/src/app/react-mixonat/node_modules
postgres:
container_name: postgres
build:
context: ./database
dockerfile: Dockerfile
ports:
- "54320:5432"
environment:
- POSTGRES_USER=mixo
- POSTGRES_PASSWORD=mixo
- PGDATA=/tmp
volumes:
- postgres-db:/var/lib/postgres/data
volumes:
postgres-db:
driver: local