Stores data in git.
In order to persist settings (user accounts, session keys, CSRF tokens),
you must provide an encryption key either as a CLI argument (-key
) or
an environment variable (KEY
). The key should be 32 bytes and
hex-encoded; you can generate such a key using openssl rand -hex 32
.
You can specify a default username and password using the username
and password
CLI flags, or the USERNAME
and PASSWORD
env vars.
These will be used to create a new user if no others exist.
All paths are relative to the working directory, in the container this is /
- /data - Used to store data
- /templates - Used to provide custom templates
- /static - Used to provide custom static content
- working directory is /
- runs as user 65532:65532