infrastructure/roles/codimd
saibotk d6ab9643cc
codimd: Adjust directory permissions
This patch reduces the permissions on the install directory to just the root user and also fixes the ansible-lint issue for specifying the `mode`.
For all container mounted volumes, the ansible-lint rule is disabled, as codimd takes care of the permissions etc.
2020-09-26 21:30:10 +02:00
..
defaults Initial commit 2020-08-10 01:37:13 +02:00
meta Fix meta file dependencies reference to docker_compose role 2020-09-26 20:02:46 +02:00
tasks codimd: Adjust directory permissions 2020-09-26 21:30:10 +02:00
templates Initial commit 2020-08-10 01:37:13 +02:00
README.md Initial commit 2020-08-10 01:37:13 +02:00

CodiMD

This will setup a CodiMD server with their official docker container and traefik.

Requirements

You will need to have docker, docker-compose and traefik installed or declared as dependencies with their respective roles.

This role assumes that you have setup traefik with an endpoint called websecure.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Global variables, that are used:

  • proxy_network: Defined by the local traefik installation, this is the shared proxy network used by traefik to reach the containers. (optional)
  • proxy_hiddenservice: Defined by the local traefik installation, this is used to generate the alt-svc header for the alternative Tor domain. (optional)

Dependencies

  • docker
  • docker-compose
  • traefik

License

GPL-3.0-only