Skip to content

Commit

Permalink
Applied changes according to review.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRoeder committed Dec 18, 2023
1 parent f173e7f commit ff5d0c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions config/db/storage-init.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Initialization script for the Storage of the HOBBIT Platform.
# Controls access rights for Platform-specific RDF graphs.

echo "Waiting for port to open..."
while ! nc -q 1 localhost 1111 </dev/null; do sleep 5; done

# Limit access rights of anonymous users to RDF graphs in the Storage
/opt/virtuoso-opensource/bin/isql 1111 dba dba exec="DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('nobody', 0);"

Expand Down
11 changes: 5 additions & 6 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ services:
HOBBIT_RABBIT_HOST: "rabbit"
HOBBIT_REDIS_HOST: "redis"
DEPLOY_ENV: "develop"
#GITLAB_USER: "${GITLAB_USER}"
#GITLAB_EMAIL: "${GITLAB_EMAIL}"
#GITLAB_TOKEN: "${GITLAB_TOKEN}"
GITLAB_USER: "${GITLAB_USER}"
GITLAB_EMAIL: "${GITLAB_EMAIL}"
GITLAB_TOKEN: "${GITLAB_TOKEN}"
#LOGGING_GELF_ADDRESS: "udp://localhost:12201"
SWARM_NODE_NUMBER: "1"
PROMETHEUS_HOST: prometheus
Expand Down Expand Up @@ -42,7 +42,6 @@ services:
- ELASTICSEARCH_HTTP_PORT=9200
- USE_UI_AUTH=false
#volumes:
#- ./config/jetty/web-without-ui-auth.xml:/var/lib/jetty/webapps/ROOT/WEB-INF/web.xml
#- /data/docker/messages/global.html:/var/lib/jetty/webapps/messages/global.html
#- /data/docker/messages/benchmark.html:/var/lib/jetty/webapps/messages/benchmark.html
#- /data/docker/messages/status.html:/var/lib/jetty/webapps/messages/status.html
Expand Down Expand Up @@ -111,8 +110,8 @@ services:
environment:
- SPARQL_ENDPOINT_URL=http://vos:8890/sparql
- HOBBIT_RABBIT_HOST=rabbit
- SPARQL_ENDPOINT_USERNAME=HobbitPlatform
- SPARQL_ENDPOINT_PASSWORD=Password
- SPARQL_ENDPOINT_USERNAME=dba
- SPARQL_ENDPOINT_PASSWORD=dba

node-exporter:
image: prom/node-exporter
Expand Down

0 comments on commit ff5d0c1

Please sign in to comment.