diff --git a/.gitignore b/.gitignore index 90ac863..7a4bcab 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ target *.iml derby.log /backend/src/main/resources/META-INF/ +/frontend/.env.local diff --git a/docker-compose.yml b/docker-compose.yml index d5ffece..acf5a36 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ services: - gipod-data-provider: + data-provider: image: ghcr.io/informatievlaanderen/ldi-orchestrator:20230927142432 - container_name: demonstrator_gipod-data-provider + container_name: demonstrator-data-provider ports: - 8082:8080 volumes: @@ -10,8 +10,8 @@ services: - ./rml:/ldio/rml:ro - ./sparql:/ldio/sparql:ro depends_on: - - demonstrator - - rdf4j-server + rdf4j-server: + condition: service_healthy networks: - demonstrator @@ -51,6 +51,10 @@ services: - "JAVA_OPTS=-Xms1g -Xmx4g" ports: - 8080:8080 + restart: on-failure + healthcheck: + test: "curl --fail http://localhost:8080/rdf4j-workbench/repositories/test/summary || exit 1" + interval: 15s networks: - demonstrator diff --git a/frontend/.env b/frontend/.env new file mode 100644 index 0000000..9b79d68 --- /dev/null +++ b/frontend/.env @@ -0,0 +1,4 @@ +# production +VITE_API_BASE_URL=https://demonstrator.smartdataspace.dev-vlaanderen.be +VITE_WS_BASE_URL=wss://demonstrator.smartdataspace.dev-vlaanderen.be + diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 9ca5d88..0a5c573 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -3,6 +3,8 @@ import LeafletMap from './components/map/LeafletMap.vue' import GlobalHeader from "@/components/headers/GlobalHeader.vue"; import MemberCounter from './components/membercounter/MemberCounter.vue' import LineChart from "@/components/linechart/LineChart.vue"; + +console.log(import.meta.env)