Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit bfc57b74 authored by Michelle Weidling's avatar Michelle Weidling :herb:
Browse files

Merge branch 'develop' into feature/#56-section-wise-collation-working-state

parents 64f040e4 05a0834a
No related branches found
No related tags found
No related merge requests found
Pipeline #151093 passed
...@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. ...@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.9.3] - 2020-09-18
## Changed
- The data directory of eXist-db is mounted to a volume instead of a bind mount.
## Fixed
- The maximum amount of memory usable by eXist-db's Docker container has been reduced to 1GB.
## [1.9.2] - 2020-09-10 ## [1.9.2] - 2020-09-10
## Changed ## Changed
......
version: '3' version: '3.4'
volumes:
existdb_data:
name: ahikar-existdb_Data-${TAG}
services: services:
existdb: existdb:
build: build:
...@@ -8,6 +13,7 @@ services: ...@@ -8,6 +13,7 @@ services:
entrypoint: entrypoint:
- java - java
- -javaagent:/prometheus/jmx_prometheus_javaagent-0.12.0.jar=8079:/prometheus/jmx_prometheus_config.yaml - -javaagent:/prometheus/jmx_prometheus_javaagent-0.12.0.jar=8079:/prometheus/jmx_prometheus_config.yaml
- -Xmx1g
- org.exist.start.Main - org.exist.start.Main
- jetty - jetty
ports: ports:
...@@ -20,13 +26,18 @@ services: ...@@ -20,13 +26,18 @@ services:
environment: environment:
- APP_NAME=${APP_NAME} - APP_NAME=${APP_NAME}
volumes: volumes:
# TODO: The index of the database at ./exist/data is corrupt on # eXist's data should be persistent but easily removable if the
# the test instance but cannot be deleted. # database's index is broken for some reason. Therefore we put
# Until October 1, 2020 we temporarily create a new bind mount, # it in a volume instead of a bind mount.
# exist_2, to get a running database on the test server. - type: volume
- ${EXIST_HOST_DIR}/data:/exist/data:z source: existdb_data
- ${EXIST_HOST_DIR}/logs:/exist/logs:z target: /exist/data
- ./prometheus:/prometheus:z - type: bind
source: ./exist/logs
target: /exist/logs
- type: bind
source: ./prometheus
target: /prometheus
httpd: httpd:
build: build:
......
...@@ -9,18 +9,15 @@ case ${CI_COMMIT_REF_NAME} in ...@@ -9,18 +9,15 @@ case ${CI_COMMIT_REF_NAME} in
echo "PORT=8092" >> docker/.env echo "PORT=8092" >> docker/.env
echo "TAG=release" >> docker/.env echo "TAG=release" >> docker/.env
echo "APP_NAME=https://ahikar.sub.uni-goettingen.de/" >> docker/.env echo "APP_NAME=https://ahikar.sub.uni-goettingen.de/" >> docker/.env
echo "EXIST_HOST_DIR=./exist/data" >> docker/.env
;; ;;
"develop") "develop")
echo "PORT=8093" > docker/.env echo "PORT=8093" > docker/.env
echo "TAG=develop" >> docker/.env echo "TAG=develop" >> docker/.env
echo "APP_NAME=https://ahikar-dev.sub.uni-goettingen.de/" >> docker/.env echo "APP_NAME=https://ahikar-dev.sub.uni-goettingen.de/" >> docker/.env
echo "EXIST_HOST_DIR=./exist/data" >> docker/.env
;; ;;
*) *)
echo "PORT=8094" > docker/.env echo "PORT=8094" > docker/.env
echo "TAG=testing" >> docker/.env echo "TAG=testing" >> docker/.env
echo "APP_NAME=https://ahikar-test.sub.uni-goettingen.de/" >> docker/.env echo "APP_NAME=https://ahikar-test.sub.uni-goettingen.de/" >> docker/.env
echo "EXIST_HOST_DIR=./exist_2/data" >> docker/.env
;; ;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment