66 lines
2.8 KiB
YAML
66 lines
2.8 KiB
YAML
---
|
|
# Default variables for the codimd role
|
|
|
|
# Infrastructure
|
|
# Ansible instructions to deploy the infrastructure
|
|
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
|
|
# Copyright (C) 2020 Saibotk
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, version 3 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Database access variables: Please change/set the password!
|
|
codimd_database_user: codimd
|
|
codimd_database_password: codimdpass
|
|
codimd_database_name: codimd
|
|
|
|
# Adjust specific data locations, usually you would want to only adjust the "codimd_install_location" (the base path):
|
|
codimd_install_location: /srv/codimd
|
|
codimd_database_location: "{{ codimd_install_location }}/database"
|
|
codimd_uploads_location: "{{ codimd_install_location }}/uploads"
|
|
|
|
# Should a local uploads directory be created and mounted?
|
|
codimd_uploads_local: false
|
|
|
|
# Set the certresolver to your desired traefik certresolver.
|
|
# Note: This is `letsencrypt_cf` by default for backwards compatibility, you might want to use `letsencrypt_http` instead, depending on your setup
|
|
codimd_traefik_certresolver: letsencrypt_http
|
|
|
|
# The domain under which traefik should make CodiMD reachable
|
|
codimd_domain: pad.example.com
|
|
|
|
# This is where all application related environment variables are defined except the database connection.
|
|
# For all possible environment variables look here: https://github.com/codimd/server/blob/master/docs/configuration.md.
|
|
# Note: All variables below will automatically be prefixed with "CMD_", eg. "DOMAIN" will automatically become "CMD_DOMAIN".
|
|
codimd_options:
|
|
ALLOW_FREE_URL: false
|
|
DOMAIN: "{{ codimd_domain }}"
|
|
EMAIL: false
|
|
PROTOCOL_USESSL: true
|
|
URL_ADDPORT: false
|
|
USECDN: true
|
|
|
|
# The version of codimd and its postgres server
|
|
# (don't upgrade postgres without a backup etc, as it might have introduced breaking changes!)
|
|
# renovate: depName=quay.io/hedgedoc/hedgedoc
|
|
codimd_version: 1.10.0
|
|
# renovate: depName=docker.io/library/postgres
|
|
codimd_postgres_version: 11.16
|
|
|
|
# The image tags that should be used (templated using the versions provided above)
|
|
codimd_image_version: "{{ codimd_version }}"
|
|
codimd_postgres_image_version: "{{ codimd_postgres_version }}-alpine"
|
|
|
|
# SELinux level for codimd and the database, which are applied to their data folders and the containers.
|
|
# (By default these will be omitted and ignored)
|
|
codimd_selinux_level: "{{ omit }}"
|
|
codimd_database_selinux_level: "{{ omit }}"
|