-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (49 loc) · 1.17 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
services:
worker:
image: 3liz/qgis-services:qgis-release-eager
networks:
- qgis_rpc_network
hostname: worker
environment:
CONF_DISPLAY_XVFB: ON
CONF_WORKER_CONFIG_URL__URL: "http://config-server/config_worker.json"
volumes:
- { type: bind, source: "${PWD}/tests/", target: /opt/qgis-services }
- { type: volume, target: /srv/vol1 }
command: ["qgis-server-rpc", "serve"]
depends_on:
- config-server
web:
image: 3liz/qgis-services:qgis-release-eager
environment:
CONF_HTTP_CONFIG_URL__URL: "http://config-server/config_proxy.json"
ports:
- 127.0.0.1:4000:80
- 127.0.0.1:9876:9876
networks:
- qgis_rpc_network
command: ["qgis-server-http", "serve", "--verbose"]
profiles:
- web
depends_on:
- config-server
config-server:
image: nginx:alpine
networks:
- qgis_rpc_network
ports:
- 127.0.0.1:8004:80
volumes:
- type: bind
source: "${PWD}/tests/"
target: /usr/share/nginx/html
read_only: true
amqp:
image: rabbitmq:3
networks:
- qgis_rpc_network
profiles:
- amqp
networks:
qgis_rpc_network:
driver: bridge