46 lines
1.7 KiB
YAML
46 lines
1.7 KiB
YAML
hedgedoc_install_dir: "/opt/hedgedoc"
|
|
|
|
hedgedoc_domain: hedgedoc.example.com
|
|
|
|
hedgedoc_containerimage: quay.io/hedgedoc/hedgedoc
|
|
# renovate: depName=quay.io/hedgedoc/hedgedoc
|
|
hedgedoc_image_tag: "1.10.0"
|
|
|
|
hedgedoc_postgres_containerimage: docker.io/library/postgres
|
|
# renovate: depName=docker.io/library/postgres
|
|
hedgedoc_postgres_image_tag: "17.2-alpine"
|
|
|
|
hedgedoc_selinux_level: "{{ omit }}"
|
|
hedgedoc_postgres_selinux_level: "{{ omit }}"
|
|
|
|
hedgedoc_memory_low: 128m
|
|
hedgedoc_memory_high: 0
|
|
hedgedoc_swap_max: -1
|
|
|
|
hedgedoc_postgres_memory_low: 128m
|
|
hedgedoc_postgres_memory_high: 0
|
|
hedgedoc_postgres_swap_max: -1
|
|
|
|
hedgedoc_postgres_database_password: "{{ lookup('passwordstore', 'hedgedoc.example.com/postgres/hedgedoc_password' + ' create=true length=64') }}"
|
|
|
|
# These are only needed for the inital run to setup the hedgedoc database and user. On subsequent runs you can remove these.
|
|
hedgedoc_postgres_environment_vars:
|
|
POSTGRES_DB: "hedgedoc"
|
|
POSTGRES_USER: "hedgedoc"
|
|
POSTGRES_PASSWORD: "{{ hedgedoc_postgres_database_password }}"
|
|
|
|
# This is where all application related environment variables are defined.
|
|
# For all possible environment variables look here: https://github.com/hedgedoc/hedgedoc/blob/a110bef68f52c2153eaea9b31bb91ce76cf4822b/docs/content/configuration.md
|
|
# Note: All variables below will automatically be prefixed with "CMD_", eg. "DOMAIN" will automatically become "CMD_DOMAIN".
|
|
hedgedoc_environment_vars:
|
|
DB_DIALECT: postgres
|
|
DB_USERNAME: hedgedoc
|
|
DB_PASSWORD: "{{ hedgedoc_postgres_database_password }}"
|
|
DB_DATABASE: hedgedoc
|
|
DB_HOST: /var/run/postgresql
|
|
ALLOW_FREE_URL: false
|
|
DOMAIN: "{{ hedgedoc_domain }}"
|
|
EMAIL: false
|
|
PROTOCOL_USESSL: true
|
|
URL_ADDPORT: false
|
|
USECDN: true
|