Skip to content

config.json is here

Compare
Choose a tag to compare
@fliiiix fliiiix released this 08 Apr 07:31
e587e29

Now it is possible to dynamical change the header of docat with config.json.

This allows you to add a custom header:

  • Create a config.json file
  • Mount it inside your docker container --volume /path/to/config.json:/var/www/html/config.json

Supported config options:

{ "headerHTML": "<h1>Custom Header</h1>" }
docker run \
  --detach \
  --volume /path/to/doc:/var/docat/doc/ \
  --volume /path/to/locations:/etc/nginx/locations.d/ \
  --volume /path/to/config.json:/var/www/html/config.json \
  --publish 8000:80 \
  randombenj/docat:0.0.10