-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker-compose.yml
53 lines (50 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
ubuntu:
build: .
ports:
- '8080:8080'
environment:
SERVER_LOG_MINIMAL: 1
SERVER_APP_NAME: docker-ubuntu
S6_KILL_FINISH_MAXTIME: 1
S6_KILL_GRACETIME: 1
SERVER_WORKER_PROCESSES: 1
SERVER_CLIENT_HEADER_BUFFER_SIZE: 8k
SERVER_LARGE_CLIENT_HEADER_BUFFERS: 8 16k
SERVER_CLIENT_BODY_BUFFER_SIZE: 128k
volumes:
- ./container/root/tests/common/nginx.goss.yaml:/tests/common/nginx.goss.yaml
- ./container/root/tests/ubuntu/nginx.goss.yaml:/tests/ubuntu/nginx.goss.yaml
- ./container/root/var/www/html:/var/www/html
alpine:
build: .
dockerfile: Dockerfile-alpine
ports:
- '8081:8080'
environment:
SERVER_LOG_MINIMAL: 1
SERVER_APP_NAME: docker-alpine
S6_KILL_FINISH_MAXTIME: 1
S6_KILL_GRACETIME: 1
SERVER_WORKER_PROCESSES: 1
volumes:
- ./container/root/tests/common/nginx.goss.yaml:/tests/common/nginx.goss.yaml
- ./container/root/tests/alpine/nginx.goss.yaml:/tests/alpine/nginx.goss.yaml
- ./container/root/var/www/html:/var/www/html
centos:
build: .
dockerfile: Dockerfile-centos
ports:
- '8082:8080'
environment:
SERVER_LOG_MINIMAL: 1
SERVER_APP_NAME: docker-centos
S6_KILL_FINISH_MAXTIME: 1
S6_KILL_GRACETIME: 1
SERVER_WORKER_PROCESSES: 1
SERVER_CLIENT_HEADER_BUFFER_SIZE: 8k
SERVER_LARGE_CLIENT_HEADER_BUFFERS: 8 16k
SERVER_CLIENT_BODY_BUFFER_SIZE: 128k
volumes:
- ./container/root/tests/common/nginx.goss.yaml:/tests/common/nginx.goss.yaml
- ./container/root/tests/centos/nginx.goss.yaml:/tests/centos/nginx.goss.yaml
- ./container/root/var/www/html:/var/www/html