Merge pull request #68 from lblod/feature/only-allow-sparql-endpoint-to-acc-dev

sparql endpoint only on dev/acc environment
This commit is contained in:
Sam Van Campenhout
2021-11-18 15:54:00 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ defmodule Dispatcher do
# sparql endpoint
###############################################################
post "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do
post "/sparql/*path", %{ layer: :api_services, host: "*.abb.lblod.info", accept: %{ sparql_json: true } } do
forward conn, path, "http://db:8890/sparql/"
end

View File

@@ -40,6 +40,7 @@ services:
adressenregister:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
restart: "no"
uri-info:
restart: "no"

View File

@@ -116,7 +116,7 @@ services:
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
MU_APPLICATION_AUTH_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
MU_APPLICATION_AUTH_CLIENT_SECRET: ""
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
links:
- db:database
labels: