-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
141 lines (132 loc) · 3.15 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
version: "2"
services:
nginx:
container_name: qgisserver-perfsuite-nginx
image: nginx:1.13
ports:
- 8088:80
networks:
- qgis
volumes:
- ./scenarios/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- qgis-release-3_16
- qgis-release-3_16-parallel-rendering
- qgis-release-3_22
- qgis-release-3_22-parallel-rendering
- qgis-master
- qgis-master-parallel-rendering
qgis-release-3_16:
container_name: qgisserver-perfsuite-release-3_16
image: qgisserver-perfsuite:release-3_16
build:
context: ./docker
args:
VERSION: release-3_16
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=0
qgis-release-3_16-parallel-rendering:
container_name: qgisserver-perfsuite-release-3_16-parallel-rendering
image: qgisserver-perfsuite:release-3_16
build:
context: ./docker
args:
VERSION: release-3_16
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=1
- QGIS_SERVER_MAX_THREADS=4
qgis-release-3_22:
container_name: qgisserver-perfsuite-release-3_22
image: qgisserver-perfsuite:release-3_22
build:
context: ./docker
args:
VERSION: release-3_22
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=0
qgis-release-3_22-parallel-rendering:
container_name: qgisserver-perfsuite-release-3_22-parallel-rendering
image: qgisserver-perfsuite:release-3_22
build:
context: ./docker
args:
VERSION: release-3_22
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=1
- QGIS_SERVER_MAX_THREADS=4
qgis-master:
container_name: qgisserver-perfsuite-master
image: qgisserver-perfsuite:master
build:
context: ./docker
args:
VERSION: latest
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=0
qgis-master-parallel-rendering:
container_name: qgisserver-perfsuite-master-parallel-rendering
image: qgisserver-perfsuite:master
build:
context: ./docker
args:
VERSION: latest
command: /cmd.sh
networks:
- qgis
- data
volumes:
- ./data-volume:/data
environment:
- QGIS_SERVER_PARALLEL_RENDERING=1
- QGIS_SERVER_MAX_THREADS=4
data:
container_name: qgisserver-perfsuite-data
image: qgisserver-perfsuite:data
build:
dockerfile: Dockerfile.data
context: ./docker
environment:
- POSTGRES_USER=root
- POSTGRES_PASS=root
- POSTGRES_DBNAME=data
ports:
- 55432:5432
networks:
- data
volumes:
- ./data-volume:/data
# Persist DB
- ./data-volume/postgresql:/var/lib/postgresql
networks:
data:
qgis: