Docker image for wiki farm
Go to file
Eric Dobbs df8da7ba2c Federated Wiki farm
Encapsulate a few specific parts of wiki configuration as a starting
point for exploring wiki.
2017-07-15 22:36:22 -06:00
Dockerfile Federated Wiki farm 2017-07-15 22:36:22 -06:00
LICENSE Federated Wiki farm 2017-07-15 22:36:22 -06:00
README.md Federated Wiki farm 2017-07-15 22:36:22 -06:00
configure-and-launch-wiki Federated Wiki farm 2017-07-15 22:36:22 -06:00

README.md

Federated Wiki Farm

http://fed.wiki.org

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 when you launch your wiki

docker run -p 3000:3000 -it --rm \
  -v localtest.me:/home/app/.wiki \
  -e DOMAIN=localtest.me \
  dobbs/farm

Open http://this.localtest.me:3000 in one tab. Open http://that.localtest.me:3000 in another.