forked from data-osm/geosm-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-prod.yaml
executable file
·65 lines (59 loc) · 1.69 KB
/
docker-compose-prod.yaml
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
version: "3.8"
services:
web:
build: .
container_name: admin_data_osm
command: bash -c "python manage.py migrate --settings=settings.prod && gunicorn --workers=9 --timeout 1800 geosmBackend.wsgi:application --bind 0.0.0.0:8000"
volumes:
- .:/code
ports:
- "9000:8000"
networks:
- travellist
qgis-server:
image: 3liz/qgis-map-server:3.22
container_name: qgis_data_osm
volumes:
- ./provider/qgis/project:/projects
- ./provider/qgis/plugin:/home/qgis/plugin
ports:
- 9100:8080
environment:
- QGSRV_SERVER_WORKERS=8
- QGSRV_SERVER_TIMEOUT=60
- QGSRV_LOGGING_LEVEL=WARNING
- QGSRV_CACHE_ROOTDIR=/projects
- QGSRV_SERVER_PLUGINPATH=/home/qgis/plugin
- QGSRV_CACHE_STRICT_CHECK=no
- QGSRV_CACHE_SIZE=3000
- QGSRV_SERVER_CROSS_ORIGIN=yes
- QGSRV_DISABLE_GETPRINT=yes
networks:
- travellist
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
container_name: elastic_data_osm
ports:
- "9200:9200"
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- ./elasticdata:/usr/share/elasticsearch/data
networks:
- travellist
logstash:
image: docker.elastic.co/logstash/logstash:7.10.1
environment:
- "LS_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- ./logstash/logstash.yml:/usr/share/logstash/config/logstash.yml
- ./logstash/pipeline:/usr/share/logstash/pipeline
- ./provider/qgis/plugin:/home/plugin
ports:
- "9600:9600"
networks:
- travellist
networks:
travellist:
driver: bridge