hallowelt / docker-bluespice-free

BlueSpice Enterprise Wiki Free Edition for Docker builds.
https://www.bluespice.com
15 stars 11 forks source link

No explicit port required in $wgServer #17

Open osnard opened 1 year ago

osnard commented 1 year ago

See https://github.com/hallowelt/docker-bluespice-free/blob/99ee810395f204ff8b06878c1c1dd32686d1804e/includes/install-scripts/fresh-install.sh#L49-L53

This will create LocalSetttings.php files with

$wgServer = "https://myserver:443";

This is not required for standard ports and may cause issues.

Jonty16117 commented 10 months ago

working on it

Jonty16117 commented 7 months ago

So, the config works in such a way that this is a bit flexible in a way that one can either just skip it and start the docker container like: docker run --env-file ./.env -p $HTTP_PORT:$HTTP_PORT -v $WIKI_INSTALL_DIR:/data -d $IMAGE_NAME:$IMAGE_TAG bluespice-free which will keep the http with the mentioned port, or we can also use https if we want to but its not enforced.