forked from LayerManager/layman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.deps.demo.yml
83 lines (76 loc) · 2.81 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
81
82
83
version: '3.3'
volumes:
redis-data:
services:
postgresql:
image: kartoza/postgis:10.0-2.4
volumes:
- ./deps/postgresql/data:/var/lib/postgresql
environment:
- USERNAME=docker
- PASS=docker
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_TEMPLATE_EXTENSIONS=true
restart: on-failure
qgis:
build:
context: deps/qgis/docker
dockerfile: Dockerfile
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:
build:
context: deps/geoserver/docker
dockerfile: Dockerfile
volumes:
- ./deps/geoserver/data:/opt/geoserver/data_dir
- ./deps/geoserver/docker/code:/geoserver_code
- ./deps/geoserver/tmp:/geoserver_tmp
restart: on-failure
environment:
- GS_VERSION=2.13.0
env_file:
- .env
- deps/geoserver/docker/.env
depends_on:
- qgis
- postgresql
redis:
image: redis:4.0.11-alpine
volumes:
- redis-data:/data
liferay:
build:
context: deps/liferay/docker
dockerfile: Dockerfile
ports:
- 8082:8080
volumes:
- ./deps/liferay/transit:/etc/liferay/tmp # for copying files from within the container to host
# https://github.com/docker/compose/issues/3270#issuecomment-206214034
# ./deps/liferay/out must be owned by non-root
- ./deps/liferay/sample/hypersonic:/etc/liferay/mount/files/data/hypersonic
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