1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00
dockerfiles/tiddlywiki/README.md

41 lines
730 B
Markdown
Raw Normal View History

2019-12-27 04:16:52 +00:00
tiddlywiki
==========
2019-12-27 04:21:51 +00:00
[TiddlyWiki][1] is a unique non-linear notebook for capturing, organising and
sharing complex information.
2019-12-27 04:16:52 +00: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
2020-06-28 10:23:31 +00:00
$ docker-compose run --rm --entrypoint tiddlywiki tiddlywiki . --init server
2019-12-27 04:16:52 +00:00
# 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 04:21:51 +00:00
[1]: https://tiddlywiki.com/