-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.deps.demo.yml
80 lines (73 loc) · 2.54 KB
/
docker-compose.deps.demo.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
version: '3.3'
volumes:
redis-data:
services:
postgresql:
image: layermanager/postgis:13.3-3.1-20210608
volumes:
- ./deps/postgresql/data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
- POSTGRES_DB=gis
restart: on-failure
qgis:
build:
context: deps/qgis/docker
dockerfile: Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./deps/qgis/data:/qgis/data:ro
restart: on-failure
environment:
- LANG=en_EN.UTF-8
- QGIS_SERVER_LOG_LEVEL=0
- DEBUG=1 # display env before spawning QGIS Server
depends_on:
- postgresql
geoserver:
image: docker.osgeo.org/geoserver:2.21.2
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./deps/geoserver/data:/opt/geoserver_data/
restart: on-failure
environment:
- GS_VERSION=2.21.2
- SKIP_DEMO_DATA=true
- GEOSERVER_CSRF_WHITELIST=${LAYMAN_PROXY_SERVER_NAME}
depends_on:
- qgis
- postgresql
redis:
image: redis:4.0.11-alpine
volumes:
- redis-data:/data
wagtail:
build:
context: deps/wagtail
dockerfile: docker/Dockerfile
ports:
- 8083:8000
command: /app/start_wagtail.sh
volumes:
- ./deps/wagtail/data:/app/data/
- ./deps/wagtail/sample:/app/initial_data/
micka:
container_name: micka
build:
context: deps/micka/docker
dockerfile: Dockerfile
command: bash -c "envsubst '$$MICKA_HOSTPORT' < /var/www/html/Micka/php/app/config/config.local.neon.demo-template > /var/www/html/Micka/php/app/config/config.local.neon && envsubst '$$MICKA_HOSTPORT' < /etc/nginx/sites-available/default.demo-template > /etc/nginx/sites-available/default && cd /code/src && python3 wait_for_deps.py && /etc/init.d/php7.3-fpm start && nginx -g 'daemon off;'"
environment:
- MICKA_HOSTPORT=${MICKA_HOSTPORT}
env_file:
- deps/micka/docker/.env
volumes:
- ./deps/micka/docker/code/src:/code/src
- ./deps/micka/sample/confs/bootstrap.php:/var/www/html/Micka/php/app/bootstrap.php
- ./deps/micka/sample/confs/config.local.neon.demo-template:/var/www/html/Micka/php/app/config/config.local.neon.demo-template
- ./deps/micka/sample/confs/default.demo-template:/etc/nginx/sites-available/default.demo-template
depends_on:
- postgresql