Skip to content

Commit

Permalink
Merge pull request #957 from gisaia/feat/dcupdate
Browse files Browse the repository at this point in the history
Update docker compose according to good practices
  • Loading branch information
alainbodiguel authored Mar 26, 2024
2 parents fcedd24 + d5234ab commit 11b88fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-8.11.1}
container_name: elasticsearch
restart: always
environment:
- discovery.type=single-node
- cluster.name=docker-cluster
Expand All @@ -16,4 +17,4 @@ services:
# - /var/lib/elasticsearch:/usr/share/elasticsearch/data
- ${ELASTIC_DATADIR}:/usr/share/elasticsearch/data
ports:
- 9200:9200
- 9200:9200 # !EXPOSE!
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
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}"
Expand All @@ -31,7 +32,7 @@ services:
- ARLAS_CACHE_TIMEOUT="${ARLAS_CACHE_TIMEOUT:-5}"
- ARLAS_SWAGGER_RESOURCE_PKG="${ARLAS_SWAGGER_RESOURCE_PKG:-io.arlas.server.rest}"
ports:
- 19999:9999
- 19999:9999 # !EXPOSE!
volumes:
- ${ARLAS_AUTH_LOCAL_CERT_FILE:-/tmp}:${ARLAS_AUTH_CERT_FILE:-/opt/app/arlas.pem}:ro
healthcheck:
Expand Down

0 comments on commit 11b88fe

Please sign in to comment.