forked from sotomskir/web-rest-api-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
92 lines (82 loc) · 2.01 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
version: "3"
services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: benchmark
MYSQL_USER: benchmark
MYSQL_PASSWORD: benchmark
ports:
- 3306:3306
java-spring:
image: yusefmaali/benchmark-rest-api-java-spring
build: ./java-spring
ports:
- 8080:8080
environment:
SPRING_DATASOURCE_URL: "jdbc:mysql://db:3306/benchmark"
php-laravel:
image: yusefmaali/benchmark-rest-api-php-laravel
build: ./php-laravel
# volumes:
# - ./php-laravel:/var/www/html
ports:
- 8081:80
environment:
DB_HOST: db
DB_DATABASE: benchmark
DB_USERNAME: benchmark
DB_PASSWORD: benchmark
go-mux:
image: yusefmaali/benchmark-rest-api-go-mux
build: ./go-mux
ports:
- 8082:8000
environment:
DB_HOST: db
node-express:
image: yusefmaali/benchmark-rest-api-node-express
build: ./node-express
ports:
- 8083:3000
# volumes:
# - ./node-express:/code
dotnet-core:
image: yusefmaali/benchmark-rest-api-dotnet-core
build: ./dotnet-core
ports:
- 8084:80
python-falcon:
image: yusefmaali/benchmark-rest-api-python-falcon
build: ./python-falcon
ports:
- 8085:8000
# volumes:
# - ./python-falcon:/code
python-django:
image: yusefmaali/benchmark-rest-api-python-django
build: ./python-django
ports:
- 8086:8000
# volumes:
# - ./python-django:/code
python-django-gunicorn:
image: yusefmaali/benchmark-rest-api-python-django-gunicorn
build: ./python-django-gunicorn
ports:
- 8087:8000
# volumes:
# - ./python-django:/code
python-django-uwsgi:
image: yusefmaali/benchmark-rest-api-python-django-uwsgi
build: ./python-django-uwsgi
ports:
- 8088:8000
# volumes:
# - ./python-django:/code
newman:
image: postman/newman_alpine33
volumes:
- ./postman:/etc/newman
command: run -d data_docker.csv benchmark.postman_collection.json