Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update wdqs frontend host in template to match common setups #830

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/wdqs-frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ services:
- 8834:80
labels:
- "traefik.enable=true"
- "traefik.http.routers.wdqs-frontend.rule=Host(`query.example`)"
- "traefik.http.routers.wdqs-frontend.rule=Host(`query.wikibase.example`)"
- "traefik.http.routers.wdqs-frontend.entrypoints=websecure"
- "traefik.http.routers.wdqs-frontend.tls.certresolver=letsencrypt"
environment:
Expand Down
37 changes: 0 additions & 37 deletions deploy-lts/.env

This file was deleted.

6 changes: 3 additions & 3 deletions deploy-lts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ WBS Deploy consists of the following services:
You need three DNS records that resolve to your machine's IP address, one for each user-facing service:

- Wikibase, e.g., "wikibase.example"
- QueryService, e.g., "query.example"
- QueryService, e.g., "query.wikibase.example"
- QuickStatements, e.g., "quickstatements.example"

### Initial setup
Expand Down Expand Up @@ -304,10 +304,10 @@ Removing the `traefik-letsencrypt-data` volume will request a new certificate fr

## WDQS Frontend

To interact with the WDQS frontend, navigate to the URL defined as `WDQS_FRONTEND_PUBLIC_HOST` in the `.env` file. By default, this is set to `wdqs-frontend.example`.
To interact with the WDQS frontend, navigate to the URL defined as `WDQS_FRONTEND_PUBLIC_HOST` in the `.env` file. By default, this is set to `query.wikibase.example`.

Alternatively, send `GET` requests with your SPARQL query to the WDQS frontend endpoint:
`https://wdqs-frontend.example.com/proxy/wdqs/bigdata/namespace/wdq/sparql?query={SPARQL}`
`https://query.wikibase.example/proxy/wdqs/bigdata/namespace/wdq/sparql?query={SPARQL}`


## FAQ
Expand Down
2 changes: 1 addition & 1 deletion deploy-lts/template.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# deployed to. Note that you need three distinct names, e.g. three different
# subdomains. Otherwise the reverse proxy cannot route properly.
WIKIBASE_PUBLIC_HOST=wikibase.example
WDQS_FRONTEND_PUBLIC_HOST=wdqs-frontend.example
WDQS_FRONTEND_PUBLIC_HOST=query.wikibase.example
QUICKSTATEMENTS_PUBLIC_HOST=quickstatements.example

# MediaWiki / Wikibase user configuration.
Expand Down
6 changes: 3 additions & 3 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ WBS Deploy consists of the following services:
You need three DNS records that resolve to your machine's IP address, one for each user-facing service:

- Wikibase, e.g., "wikibase.example"
- QueryService, e.g., "query.example"
- QueryService, e.g., "query.wikibase.example"
- QuickStatements, e.g., "quickstatements.example"

### Initial setup
Expand Down Expand Up @@ -304,10 +304,10 @@ Removing the `traefik-letsencrypt-data` volume will request a new certificate fr

## WDQS Frontend

To interact with the WDQS frontend, navigate to the URL defined as `WDQS_FRONTEND_PUBLIC_HOST` in the `.env` file. By default, this is set to `wdqs-frontend.example`.
To interact with the WDQS frontend, navigate to the URL defined as `WDQS_FRONTEND_PUBLIC_HOST` in the `.env` file. By default, this is set to `query.wikibase.example`.

Alternatively, send `GET` requests with your SPARQL query to the WDQS frontend endpoint:
`https://wdqs-frontend.example.com/proxy/wdqs/bigdata/namespace/wdq/sparql?query={SPARQL}`
`https://query.wikibase.example/proxy/wdqs/bigdata/namespace/wdq/sparql?query={SPARQL}`


## FAQ
Expand Down
2 changes: 1 addition & 1 deletion deploy/template.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# deployed to. Note that you need three distinct names, e.g. three different
# subdomains. Otherwise the reverse proxy cannot route properly.
WIKIBASE_PUBLIC_HOST=wikibase.example
WDQS_FRONTEND_PUBLIC_HOST=wdqs-frontend.example
WDQS_FRONTEND_PUBLIC_HOST=query.wikibase.example
QUICKSTATEMENTS_PUBLIC_HOST=quickstatements.example

# MediaWiki / Wikibase user configuration.
Expand Down
6 changes: 3 additions & 3 deletions test/suites/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ services:
networks:
default:
aliases:
- wikibase.example
- wdqs-frontend.example
- quickstatements.example
- ${WIKIBASE_PUBLIC_HOST}
- ${WDQS_FRONTEND_PUBLIC_HOST}
- ${QUICKSTATEMENTS_PUBLIC_HOST}

volumes:
wikibase-config:
4 changes: 2 additions & 2 deletions test/test-services.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Any of these can be overridden locally in ../local.env

WIKIBASE_PUBLIC_HOST=wikibase.example
WDQS_FRONTEND_PUBLIC_HOST=wdqs-frontend.example
WDQS_FRONTEND_PUBLIC_HOST=query.wikibase.example
QUICKSTATEMENTS_PUBLIC_HOST=quickstatements.example

MW_ADMIN_NAME=admin
Expand All @@ -11,7 +11,7 @@ MW_ADMIN_PASS=change-this-password
# URLs used by tests to access services from within the
# docker network through traefik proxy
WIKIBASE_URL=http://wikibase.example
WDQS_FRONTEND_URL=http://wdqs-frontend.example
WDQS_FRONTEND_URL=http://query.wikibase.example
QUICKSTATEMENTS_URL=http://quickstatements.example

# URLs used by tests to access services from within the docker network directly
Expand Down
Loading