1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/tiddlywiki
2020-06-28 15:53:31 +05:30
..
docker-compose.yml add tiddlywiki 2019-12-27 12:16:52 +08:00
Dockerfile add tiddlywiki 2019-12-27 12:16:52 +08:00
README.md Fixed vimagick/dockerfiles#144 2020-06-28 15:53:31 +05:30

tiddlywiki

TiddlyWiki is a unique non-linear notebook for capturing, organising and sharing complex information.

docker-compose.yml

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

# initialize wiki
$ docker-compose run --rm --entrypoint tiddlywiki 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