wiki

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 29 Imported by: 0

README

Wiki

Stores data in git.

Encryption key

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.

User accounts

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.

Directories

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

Docker

  • working directory is /
  • runs as user 65532:65532

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL