-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from kit-data-manager/docker-compose
Restructure docker compose files
- Loading branch information
Showing
11 changed files
with
187 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
INSTANCE_NAME= | ||
EVOKS_PORT= | ||
SKOSMOS_DEV_PORT= | ||
SKOSMOS_LIVE_PORT= | ||
PROXY_PORT= | ||
PUBLICURL= | ||
EVOKS_MAIL= | ||
FUSEKI_PASSWORD= | ||
POSTGRES_USER= | ||
POSTGRES_PASSWORD= | ||
# example evoks_url for reverse-proxy: /evoks | ||
# example EVOKS_URL for reverse-proxy: /evoks | ||
EVOKS_URL= | ||
# all following only needed for development: | ||
# all following only needed for development and or for running without proxy: | ||
POSTGRES_PORT= | ||
FUSEKI_DEV_PORT= | ||
FUSEKI_LIVE_PORT= | ||
FUSEKI_LIVE_PORT= | ||
EVOKS_PORT= | ||
SKOSMOS_DEV_PORT= | ||
SKOSMOS_LIVE_PORT= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
services: | ||
proxy: | ||
container_name: evokstest_proxy | ||
restart: "no" | ||
|
||
postgres: | ||
container_name: evokstest_postgres | ||
environment: | ||
POSTGRES_USER: 'postgres' | ||
POSTGRES_PASSWORD: 'changeme' | ||
restart: no | ||
restart: "no" | ||
|
||
web: | ||
container_name: evokstest_testrunner | ||
command: > | ||
entrypoint: > | ||
sh -c "set -e && | ||
export BASEHREF && | ||
envsubst '$$BASEHREF' < /code/skosmos-dev/config-template.ttl > /code/skosmos-dev/config.ttl && | ||
envsubst '$$BASEHREF' < /code/skosmos-live/config-template.ttl > /code/skosmos-live/config.ttl && | ||
cd ./evoks && | ||
python manage.py migrate && | ||
coverage run manage.py test -v 3 tests/model/ tests/migration/ tests/skosmos/ tests/fuseki/ tests/views/ tests/evoks && | ||
coverage report && | ||
coverage xml" | ||
restart: no | ||
restart: "no" | ||
|
||
fuseki-dev: | ||
container_name: evokstest_fuseki-dev | ||
environment: | ||
ADMIN_PASSWORD: 'fuseki_password' | ||
restart: no | ||
restart: "no" | ||
|
||
fuseki-live: | ||
container_name: evokstest_fuseki-live | ||
environment: | ||
ADMIN_PASSWORD: 'fuseki_password' | ||
restart: no | ||
restart: "no" | ||
|
||
skosmos-dev: | ||
container_name: evokstest_skosmos-dev | ||
restart: no | ||
restart: "no" | ||
|
||
skosmos-live: | ||
container_name: evokstest_skosmos-live | ||
restart: no | ||
restart: "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@prefix : <file:///code/evoks/tests/skosmos/config.ttl#> . | ||
@prefix dc: <http://purl.org/dc/terms/> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix skosmos: <http://purl.org/net/skosmos#> . | ||
@prefix void: <http://rdfs.org/ns/void#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
:config a skosmos:Configuration ; | ||
skosmos:baseHref ${BASEHREF} ; | ||
skosmos:customCss "resource/css/stylesheet.css" ; | ||
skosmos:feedbackAddress "" ; | ||
skosmos:feedbackEnvelopeSender "" ; | ||
skosmos:feedbackSender "" ; | ||
skosmos:globalPlugins () ; | ||
skosmos:httpTimeout 5 ; | ||
skosmos:languages ( [ rdfs:label "en" ; | ||
rdf:value "ar_AE.utf8" ] [ rdfs:label "da" ; | ||
rdf:value "da_DK.utf8" ] [ rdfs:label "de" ; | ||
rdf:value "de_DE.utf8" ] [ rdfs:label "en" ; | ||
rdf:value "en_GB.utf8" ] [ rdfs:label "en_US" ; | ||
rdf:value "en_US.utf8" ] [ rdfs:label "es" ; | ||
rdf:value "es_ES.utf8" ] [ rdfs:label "fa" ; | ||
rdf:value "fa_IR.utf8" ] [ rdfs:label "fi" ; | ||
rdf:value "fi_FI.utf8" ] [ rdfs:label "fr" ; | ||
rdf:value "fr_FR.utf8" ] [ rdfs:label "it" ; | ||
rdf:value "it_IT.utf8" ] [ rdfs:label "nb" ; | ||
rdf:value "nb_NO.utf8" ] [ rdfs:label "nl" ; | ||
rdf:value "nl_NL.utf8" ] [ rdfs:label "nn" ; | ||
rdf:value "nn_NO.utf8" ] [ rdfs:label "pl" ; | ||
rdf:value "pl_PL.utf8" ] [ rdfs:label "pt" ; | ||
rdf:value "pt_PT.utf8" ] [ rdfs:label "pt_BR" ; | ||
rdf:value "pt_BR.utf8" ] [ rdfs:label "ru" ; | ||
rdf:value "ru_RU.utf8" ] [ rdfs:label "sv" ; | ||
rdf:value "sv_SE.utf8" ] [ rdfs:label "zh" ; | ||
rdf:value "zh_CN.utf8" ] ) ; | ||
skosmos:logBrowserConsole true ; | ||
skosmos:logCaughtExceptions true ; | ||
skosmos:searchResultsSize 20 ; | ||
skosmos:serviceName "Skosmos" ; | ||
skosmos:sparqlCollationEnabled false ; | ||
skosmos:sparqlDialect "JenaText" ; | ||
skosmos:sparqlEndpoint <http://fuseki-dev:3030/> ; | ||
skosmos:sparqlTimeout 20 ; | ||
skosmos:templateCache "/tmp/skosmos-template-cache" ; | ||
skosmos:transitiveLimit 1000 ; | ||
skosmos:uiHoneypotEnabled true ; | ||
skosmos:uiHoneypotTime 5 ; | ||
skosmos:uiLanguageDropdown true . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.