-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
180 lines (167 loc) · 2.66 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
services:
uwsgi:
build: .
ports:
- "8101:8101"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-uwsgi
environment:
PORT: 8101
fastapi:
build: .
ports:
- "8102:8102"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-fastapi
environment:
PORT: 8102
aiohttp:
build: .
ports:
- "8103:8103"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-aiohttp
environment:
PORT: 8103
LOOP_POLICY: uvloop.EventLoopPolicy
fastapi-hypercorn:
build: .
ports:
- "8104:8104"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-fastapi-hypercorn
environment:
PORT: 8104
sanic-direct:
build: .
ports:
- "8105:8105"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-sanic-direct
environment:
PORT: 8105
sanic-asgi:
build: .
ports:
- "8106:8106"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-sanic-asgi
environment:
PORT: 8106
starlette-uvicorn:
build: .
ports:
- "8107:8107"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-starlette-uvicorn
environment:
PORT: 8107
aiohttp-gunicorn:
build: .
ports:
- "8108:8108"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-aiohttp-gunicorn
environment:
PORT: 8108
aiohttp-uwsgi:
build: .
ports:
- "8109:8109"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-aiohttp-uwsgi
environment:
PORT: 8109
rust:
build: .
ports:
- "8110:8110"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-rust-app
environment:
PORT: 8110
go:
build: .
ports:
- "8111:8111"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-go-app
environment:
PORT: 8111
GIN_MODE: release
robyn:
build: .
ports:
- "8112:8112"
volumes:
- .:/app
links:
- nginx
depends_on:
- nginx
command: make run-robyn
environment:
PORT: 8112
nginx:
image: nginx
logging:
driver: none
volumes:
- ./fixtures/:/usr/share/nginx/html:ro
ports:
- "8100:80"