-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
executable file
·82 lines (75 loc) · 1.57 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: "3"
services:
postgres:
image: "postgres:9.6"
environment:
- POSTGRES_USER=gino
- POSTGRES_PASSWORD=gino
- POSTGRES_DB=gino
ports:
- "5432:5432"
volumes:
- /var/lib/postgresql/data
fastapi_main_app_main:
environment:
- DB_HOST=postgres
build:
context: ../../../
dockerfile: $PWD/images/fastapi_as_main_app/Dockerfile
ports:
- "5050:5050"
depends_on:
- postgres
fastapi_main_app_admin:
environment:
- DB_HOST=postgres
build:
context: ../../../
dockerfile: $PWD/images/fastapi_as_main_app/Dockerfile-admin
ports:
- "5000:5000"
depends_on:
- postgres
base_app:
environment:
- DB_HOST=postgres
- PORT=5010
build:
context: ../../../
dockerfile: $PWD/images/base_example/Dockerfile
ports:
- "5010:5010"
depends_on:
- postgres
composite_csv:
environment:
- DB_HOST=postgres
- PORT=5020
build:
context: ../../../
dockerfile: $PWD/images/composite_csv_example/Dockerfile
ports:
- "5020:5020"
depends_on:
- postgres
colored_ui:
environment:
- DB_HOST=postgres
- PORT=5040
build:
context: ../../../
dockerfile: $PWD/images/colored_ui/Dockerfile
ports:
- "5040:5040"
depends_on:
- postgres
run_from_cli:
environment:
- DB_HOST=postgres
build:
context: ../../../
dockerfile: $PWD/images/run_from_cli/Dockerfile
ports:
- "5060:5060"
depends_on:
- postgres