-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 867 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (43 loc) · 867 Bytes
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
version: '2'
services:
benchmark-cli:
image: php:8.0-cli-alpine3.12
container_name: benchmark-cli
networks:
- benchmark
volumes:
- .:/code:cached
env_file:
- .env
working_dir: /code
command: /code/build/container/cli/run.sh
depends_on:
- benchmark-nginx
benchmark-nginx:
image: nginx:1.21-alpine
container_name: benchmark-nginx
networks:
- benchmark
volumes:
- .:/code:cached
ports:
- "8090:80"
env_file:
- .env
command: /code/build/container/nginx/run.sh
depends_on:
- benchmark-fpm
logging:
driver: none
benchmark-fpm:
build: ./
container_name: benchmark-fpm
networks:
- benchmark
env_file:
- .env
command: /code/build/container/fpm/run.sh
logging:
driver: none
networks:
benchmark: