-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (41 loc) · 2.14 KB
/
docker-compose.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
version: '3'
services:
arlas-server:
build:
context: .
dockerfile: ${DOCKERFILE:-Dockerfile-package-only}
image: gisaia/arlas-server:${ARLAS_VERSION:-latest}
container_name: arlas-server
restart: always
environment:
- JDK_JAVA_OPTIONS=${ARLAS_JDK_JAVA_OPTIONS:--Xmx1g -XX:+ExitOnOutOfMemoryError}
- ARLAS_LOGGING_LEVEL="${ARLAS_LOGGING_LEVEL:-INFO}"
- ARLAS_LOGGING_CONSOLE_LEVEL="${ARLAS_LOGGING_CONSOLE_LEVEL:-INFO}"
- ARLAS_ELASTIC_NODES=${ARLAS_ELASTIC_NODES:-elasticsearch:9200}
- ARLAS_ELASTIC_ENABLE_SSL="${ARLAS_ELASTIC_ENABLE_SSL:-false}"
- ARLAS_ELASTIC_IGNORE_CERTS="${ARLAS_ELASTIC_IGNORE_CERTS:-true}"
- ARLAS_ELASTIC_CREDENTIALS="${ARLAS_ELASTIC_CREDENTIALS}"
- ARLAS_ELASTIC_SKIP_MASTER="${ARLAS_ELASTIC_SKIP_MASTER:-true}"
- ARLAS_PREFIX="${ARLAS_PREFIX:-/arlas}"
- ARLAS_APP_PATH="${ARLAS_APP_PATH:-/}"
- ARLAS_BASE_URI="${ARLAS_BASE_URI:-http://arlas-server:9999/arlas/}"
- ARLAS_SERVICE_WFS_ENABLE="${ARLAS_SERVICE_WFS_ENABLE:-false}"
- ARLAS_INSPIRE_ENABLED="${ARLAS_INSPIRE_ENABLED:-false}"
- ARLAS_SERVICE_CSW_ENABLE="${ARLAS_SERVICE_CSW_ENABLE:-false}"
- ARLAS_SERVICE_RASTER_TILES_ENABLE="${ARLAS_SERVICE_RASTER_TILES_ENABLE:-false}"
- ARLAS_AUTH_POLICY_CLASS="${ARLAS_AUTH_POLICY_CLASS:-io.arlas.filter.impl.NoPolicyEnforcer}"
- ARLAS_AUTH_PERMISSION_URL="${ARLAS_AUTH_PERMISSION_URL:-http://arlas-iam-server:9990/arlas_iam_server/permissions}"
- ARLAS_CORS_ENABLED="${ARLAS_CORS_ENABLED:-false}"
- ARLAS_AUTH_CERT_URL="${ARLAS_AUTH_CERT_URL}"
- ARLAS_CACHE_FACTORY_CLASS="${ARLAS_CACHE_FACTORY_CLASS:-io.arlas.server.core.impl.cache.LocalCacheFactory}"
- ARLAS_CACHE_TIMEOUT="${ARLAS_CACHE_TIMEOUT:-5}"
- ARLAS_SWAGGER_RESOURCE_PKG="${ARLAS_SWAGGER_RESOURCE_PKG:-io.arlas.server.rest}"
ports:
- 19999:9999 # !EXPOSE!
volumes:
- ${ARLAS_AUTH_LOCAL_CERT_FILE:-/tmp}:${ARLAS_AUTH_CERT_FILE:-/opt/app/arlas.pem}:ro
healthcheck:
test: ["CMD","java","HttpHealthcheck.java","http://localhost:9999/admin/healthcheck"]
interval: 5s
timeout: 10s
retries: 3