-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (73 loc) · 2.84 KB
/
docker-compose.yml
File metadata and controls
79 lines (73 loc) · 2.84 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
71
72
73
74
75
76
77
78
79
services :
exa-db:
image: postgis/postgis:17-3.5-alpine
restart: "no"
volumes:
- exa-db-volume:/var/lib/postgresql/data/
ports:
- "5440:5432"
environment:
POSTGRES_DB: examind
POSTGRES_USER: examind
POSTGRES_PASSWORD: examind
PGDATA: /var/lib/postgresql/data/pgdata/
healthcheck:
test: [ "CMD", "pg_isready", "-U", "examind", "-d", "examind" ]
retries: 10
interval: "2s"
examind:
image: images.geomatys.com/examind/examind-community:latest
restart: "no"
volumes:
- "./mount/examind/data/:/var/examind/:Z"
# For CWL purposes, uncomment :
# - "/run/user/5024/podman/podman.sock:/var/run/docker.sock:Z" # If you use podman rootless, adjust the path according to your user ID
# - "/var/run/docker.sock:/var/run/docker.sock:Z" # If you use docker or podman in root mode
# - "./docker:/custom-bin/docker:ro"
depends_on:
exa-db:
condition: service_healthy
ports:
# Service port: admin UI and REST API
- "8080:8080"
# Debug port
- "8000:8000"
environment:
DATABASE_URL: "postgres://examind:examind@exa-db:5432/examind"
CSTL_HOME: /var/examind/
CSTL_URL: "http://localhost:8080/examind"
# org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH allow to send value in path with encoded slash
# this is needed when some identifiers contains slash, like in STA for example
CATALINA_OPTS: >-
-Xms1G -Xmx4G
-Dfile.encoding=UTF-8
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
# User authentication configuration
CSTL_TOKEN_LIFE: 30
CSTL_SECRET: examind-secret
SPRING_PROFILES_ACTIVE: standard
# TODO: document these parameters
EXAMIND_ENABLE_INTERNAL_SIS_STORE: "true"
EXA_CACHE_DATA_INFO: "false"
AWS_REGION: "eu-west-1"
# For OpenEO
EXAMIND_ENABLE_BASIC_AUTH: "true"
EXAMIND_ENABLE_PARAM_TOKEN: "true"
EXAMIND_WPS_EXECUTE_SECURE: "true"
# If you want to use an external STAC with OpenEO, uncomment and set the following parameter : [serviceId,stacUrl]
# EXA_OPENEO_EXTERNAL_STAC_PER_WPS_SERVICE: "[test,https://openeofed.dataspace.copernicus.eu/openeo/1.2]"
# For CWL purposes, uncomment :
# PATH: "/custom-bin:/usr/local/tomcat/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# EXAMIND_CWL_SHARED_DIR: "/home/qbialota/.local/share/exa-cwl-shared"
security_opt:
- label=disable
# If you want to use the OpenEO web editor, uncomment this service
# openeo-web-editor:
# image: mundialis/openeo-web-editor:latest
# container_name: openo-web-editor
# ports:
# - "8096:80"
# restart: unless-stopped
volumes:
exa-db-volume: