-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (66 loc) · 1.78 KB
/
Copy pathdocker-compose.yml
File metadata and controls
70 lines (66 loc) · 1.78 KB
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
services:
geoserver:
image: docker.osgeo.org/geoserver:3.0.0
ports:
- "8080:8080"
volumes:
- ./data/geoserver:/opt/geoserver_data/:Z
environment:
ROOT_WEBAPP_REDIRECT: "true"
GEOSERVER_ADMIN_USER: "gis"
GEOSERVER_ADMIN_PASSWORD: "password"
healthcheck:
test: curl --fail "http://localhost:8080/geoserver/web/wicket/resource/org.geoserver.web.GeoServerBasePage/img/logo.png" || exit 1
interval: 1m
retries: 3
timeout: 20s
mapstore:
image: geosolutionsit/mapstore2
ports:
- "8081:8080"
volumes:
- ./config/geostore-datasource-ovr-postgres.properties:/usr/local/tomcat/conf/geostore-datasource-ovr.properties
environment:
JAVA_OPTS: "-Dgeostore-ovr=file:///usr/local/tomcat/conf/geostore-datasource-ovr.properties"
depends_on:
postgis:
condition: service_healthy
pgadmin:
image: dpage/pgadmin4:9.15.0
ports:
- "5050:80"
volumes:
- ./data/pgadmin:/var/lib/pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: "gis@example.com"
PGADMIN_DEFAULT_PASSWORD: "password"
PGADMIN_DISABLE_POSTFIX: "True"
depends_on:
postgis:
condition: service_healthy
postgis:
image: postgis/postgis:18-3.6-alpine
ports:
- "5432:5432"
volumes:
- ./data/postgis:/var/lib/postgresql:Z
environment:
POSTGRES_DB: "gis"
POSTGRES_USER: "gis"
POSTGRES_PASSWORD: "password"
healthcheck:
test: pg_isready -U gis -h localhost -t 5 || exit 1
interval: 1m
retries: 3
timeout: 20s
solr:
image: solr:10.0.0-slim
ports:
- "8983:8983"
volumes:
- ./data/solr:/var/solr
- ./solr_conf:/solr_conf
command:
- solr-precreate
- blacklight-core
- /solr_conf