60 lines
1.1 KiB
Markdown
60 lines
1.1 KiB
Markdown
# Federated Wiki Farm
|
|
|
|
http://fed.wiki.org
|
|
|
|
Although this container can run alone, I use and develop it with
|
|
a reverse proxy. See: https://github.com/dobbs/wiki-tls
|
|
|
|
See also http://local-farm.wiki.dbbs.co for many more details.
|
|
|
|
### Get acquainted with wiki.
|
|
|
|
Launch the container:
|
|
``` bash
|
|
docker run -p 3000:3000 -it --rm \
|
|
dobbs/farm
|
|
```
|
|
|
|
Visit http://localhost:3000
|
|
|
|
### Make your wiki survive a reboot
|
|
|
|
Create a volume:
|
|
|
|
``` bash
|
|
docker volume create dot-wiki
|
|
```
|
|
|
|
Launch the container:
|
|
``` bash
|
|
docker run -p 3000:3000 -it --rm \
|
|
-v dot-wiki:/home/app/.wiki \
|
|
dobbs/farm
|
|
```
|
|
|
|
Visit http://localhost:3000
|
|
|
|
# Development
|
|
|
|
This image's tag does not match the version of the included wiki software.
|
|
|
|
Notes to self:
|
|
|
|
``` bash
|
|
docker build --tag dobbs/farm:0.51.0 .
|
|
git tag -am "" '0.51.0'
|
|
git push --tags
|
|
```
|
|
|
|
The repos in Dockerhub and GitHub are configured to automatically build new tags.
|
|
|
|
# Publish experimental plugins
|
|
|
|
``` bash
|
|
docker build \
|
|
--tag dobbs/farm:0.14.0-frame \
|
|
--build-arg WIKI_PACKAGE='dobbs/wiki#frame' \
|
|
.
|
|
docker push dobbs/farm:0.14.0-frame
|
|
```
|