diff --git a/README.md b/README.md index ab45ed1..bacfa93 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,16 @@ etc, must be defined in the docker-compose files via docker labels for the services' containers. See the [docs](https://doc.traefik.io/traefik/). ### Optionally configure traefik locally + +By default, TLD points to localhost. That way one can access the portal at +https://portal.mardi4nfdi.de +and for example quickstatements via +https://quickstatements.portal.mardi4nfdi.localhost +. +Unfortunately SSL certificates are invalid as letsencrypt obviously cannot provide +local SSL certificates. + ## Start up the containers Start-up the containers from the docker-compose file for development: ``` diff --git a/mediawiki/template.env b/mediawiki/template.env index 9470aae..48ccbcb 100644 --- a/mediawiki/template.env +++ b/mediawiki/template.env @@ -119,4 +119,8 @@ GOOGLE_OPENID_SECRET=google-secret DEPLOYMENT_ENV=local ## Top Level Domain -TLD=de +## The ".localhost" TLD has traditionally been statically defined in host DNS implementations as having an A record pointing to the loop back IP address and is reserved for such use. Any other use would conflict with widely deployed code which assumes this use. +TLD=localhost + +RESTART=on-failure +