-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (55 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
55 lines (55 loc) · 1.1 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
53
54
55
version: "3.5"
services:
mysql:
image: mysql:5.7
volumes:
- ./mysql:/docker-entrypoint-initdb.d
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=db
- MYSQL_USER=benchmark
- MYSQL_PASSWORD=benchmark
ports:
- 3306:3306
webserver:
image: nginx:alpine
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 8001:80
depends_on:
- symfony5
symfony5:
image: phpvigo/api-benchmark-symfony5:latest
reactphp:
image: phpvigo/api-benchmark-reactphp:latest
ports:
- 8000:8000
environment:
- ORM_ACTIVE=1
reactphp-no-orm:
image: phpvigo/api-benchmark-reactphp:latest
ports:
- 8004:8000
environment:
- ORM_ACTIVE=0
node:
image: phpvigo/api-benchmark-node:latest
ports:
- 8002:80
go:
image: phpvigo/api-benchmark-golang:latest
ports:
- 8003:8080
vegeta:
build:
context: .
dockerfile: vegeta/Dockerfile
ports:
- 8080:80
ab:
build:
context: .
dockerfile: ab/Dockerfile
ports:
- 8081:80