2019-12-27 06:16:52 +02:00
|
|
|
tiddlywiki
|
|
|
|
==========
|
|
|
|
|
2019-12-27 06:21:51 +02:00
|
|
|
[TiddlyWiki][1] is a unique non-linear notebook for capturing, organising and
|
|
|
|
sharing complex information.
|
|
|
|
|
2019-12-27 06:16:52 +02:00
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
tiddlywiki:
|
|
|
|
image: vimagick/tiddlywiki
|
|
|
|
command: >
|
|
|
|
username=admin
|
|
|
|
password=admin
|
|
|
|
writers=(authenticated)
|
|
|
|
readers=(anon)
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
|
|
|
restart: unless-stopped
|
|
|
|
```
|
|
|
|
|
|
|
|
## up and running
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# initialize wiki
|
|
|
|
$ docker-compose run --rm tiddlywiki . --init server
|
|
|
|
|
|
|
|
# serves wiki over http
|
|
|
|
$ docker-compose up -d
|
|
|
|
|
|
|
|
# open wiki in browser
|
|
|
|
$ curl http://127.0.0.1:8080/login-basic
|
|
|
|
|
|
|
|
# authorized access
|
|
|
|
$ curl -u admin:admin http://127.0.0.1:8080/status
|
|
|
|
```
|
2019-12-27 06:21:51 +02:00
|
|
|
|
|
|
|
[1]: https://tiddlywiki.com/
|