We should only need to run the configure-wiki script once instead of every time we start the container. Also, I don't think that script was correctly handling PID 1 role (e.g. don't think we forwarded signals to node nor reaped zombies)
Federated Wiki Farm
Get acquainted with wiki.
Launch the container:
docker run -p 3000:3000 -it --rm \
dobbs/farm
Visit http://localhost:3000
Make your wiki survive a reboot
Create a volume:
docker volume create dot-wiki
Launch the container:
docker run -p 3000:3000 -it --rm \
-v dot-wiki:/home/app/.wiki \
dobbs/farm
Visit http://localhost:3000
Make your wiki a local farm
We're going to use http://localtest.me instead of localhost for our domain name. See http://readme.localtest.me for more info.
Let's also use a different volume for this one:
docker volume create localtest.me
Specify the domain name and configure your wiki
docker run -p 3000:3000 -it --rm \
-v localtest.me:/home/app/.wiki \
-e DOMAIN=localtest.me \
dobbs/farm configure-wiki
Now that configuration is complete, launch the wiki:
docker run -p 3000:3000 -it --rm \
-v localtest.me:/home/app/.wiki \
dobbs/farm
Open http://this.localtest.me:3000 in one tab. Open http://that.localtest.me:3000 in another.
Development
This image's tag matches the version of the included wiki software.
git tag -am "" '0.14.0'
git push --tags
The repos in Dockerhub and GitHub are configured to automatically build new tags.
Description
Docker image for a Federated Wiki farm, with working OAuth2 login
Based on https://github.com/dobbs/farm/
Languages
Dockerfile
100%