digitaldemocratic/dd.conf.sample

223 lines
6.1 KiB
Plaintext

#
# Copyright © 2021,2022 IsardVDI S.L.
#
# This file is part of DD
#
# DD is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# DD 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 Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DD. If not, see <https://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# DD GLOBAL ENV
TITLE="DD"
TITLE_SHORT="DD"
DOMAIN=mydomain.com
# If defined, DD will be managing email for this domain
# When this variable changes, following commands need to run:
# # Stop services
# ./dd-ctl down
# # Rebuild containers so the variable gets propagated
# ./dd-ctl build
# # Restart services with the changed
# ./dd-ctl up
# # Reconfigure the SSO provider for the email app
# ./dd-ctl saml
#MANAGED_EMAIL_DOMAIN=${DOMAIN}
LETSENCRYPT_DNS=
LETSENCRYPT_EMAIL=
# Generate letsencrypt certificate for root domain
# Values:
# - false (default): dont generate certificate for root domain, only for
# subdomains.
# - true: generate certificate for root domain and subdomains.
#LETSENCRYPT_DOMAIN_ROOT=false
DB_FOLDER=/opt/DD/db
DATA_FOLDER=/opt/DD/data
SRC_FOLDER=/opt/DD/src
BACKUP_FOLDER=/opt/DD/backup
# https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
LANGUAGE_CODE=ca
#LANGUAGE_LONG=ca_ES.UTF-8
# These should be your existing SMTP server's settings
SMTP_HOST=smtp.mymailserver.com
SMTP_PORT=587
SMTP_USER=your_email@mymailserver.com
# This will not be touched by ./dd-ctl securize
SMTP_PASSWORD=SuperSecret
SMTP_PROTOCOL=tls
## DEFAULT CUSTOM ROLE NAMES
#CUSTOM_ROLE_MANAGER='manager'
#CUSTOM_ROLE_TEACHER='teacher'
#CUSTOM_ROLE_STUDENT='student'
DDADMIN_USER=ddadmin
DDADMIN_PASSWORD=Th3M@st3r
DDADMIN_EMAIL=theemail@mymailserver.com
# BBB settings
# This gets automatically configured on Nextcloud
#BBB_HOST=bbb.example.org
#BBB_API_SECRET=APISECRET
# BBB settings
# This gets automatically configured on Nextcloud
#BBB_HOST=bbb.example.org
#BBB_API_SECRET=APISECRET
# ------ Api Secret -----------------------------------------------------------
## Generate your own SECRET! (or apply securize script)
## openssl rand -base64 32
#API_SECRET=LYY1kVYzbTSQx1yC4AauY7R6X34Jaz6+SY8CNC6RSno=
## ADMINAPP (https://admin.$DOMAIN)
##=============================================================================
ADMINAPP_USER=centre
ADMINAPP_PASSWORD=Sup3rS3cret
## KEYCLOAK (https://sso.$DOMAIN)
##=============================================================================
### DO NOT CHANGE KEYCLOAK_USER. It is not being modified at container start
KEYCLOAK_USER=admin
KEYCLOAK_PASSWORD=keycloakkeycloak
KEYCLOAK_DB_ADDR=dd-apps-postgresql
KEYCLOAK_DB_DATABASE=keycloak
KEYCLOAK_DB_USER=keycloak
KEYCLOAK_DB_PASSWORD=keycloakkeycloak
## MOODLE
##=============================================================================
MOODLE_ADMIN_USER=admin
MOODLE_ADMIN_PASSWORD=M00dl3
MOODLE_SITENAME="DD"
MOODLE_EMAIL=moodle-info@mymailserver.com
MOODLE_MAIL_NOREPLY_ADDRESS=noreply@mymailserver.com
MOODLE_MAIL_PREFIX=[moodle]
MOODLE_TIMEZONE=Europe/Madrid
MOODLE_POSTGRES_USER=moodle
MOODLE_POSTGRES_PASSWORD=M00dl3
## NEXTCLOUD
##=============================================================================
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=N3xtcl0ud
NEXTCLOUD_POSTGRES_USER=nextcloud
NEXTCLOUD_POSTGRES_PASSWORD=N3xtcl0ud
### Comma-separated list of Nextcloud plugins that you want to enable/disable
### These should be available from https://apps.nextcloud.com/
### Example: NEXTCLOUD_PLUGINS_ENABLE=cospend,cookbook
#NEXTCLOUD_PLUGINS_ENABLE=
#NEXTCLOUD_PLUGINS_DISABLE=
#
### This language will be forced (currently only Nextcloud)
#FORCED_LANGUAGE=ca
## WORDPRESS
##=============================================================================
WORDPRESS_ADMIN_USER=admin
WORDPRESS_ADMIN_PASSWORD=W0rdpr3ss
WORDPRESS_MARIADB_USER=wordpress
WORDPRESS_MARIADB_PASSWORD=W0rdpr3ss
## ETHERPAD
##=============================================================================
ETHERPAD_ADMIN_USER=admin
ETHERPAD_ADMIN_PASSWORD=SuperSecret
ETHERPAD_POSTGRES_USER=etherpad
ETHERPAD_POSTGRES_PASSWORD=3th3rpad
### ETHERPAD_API_KEY=NotImplemented
## POSTGRES
##=============================================================================
POSTGRES_USER=admin
POSTGRES_PASSWORD=postgrespostgres
## MARIADB
##=============================================================================
### MARIADB_USER=root (it is the defaults in the container
MARIADB_PASSWORD=SuperSecret
## ACCEPT PROXY PROTOCOL ON 8888 (HTTP) AND 561 (HTTPS)
#PROXY_PROTOCOL=false
## DISABLE WAF/MODSECURITY
#DISABLE_WAF=true
# SOURCES & SYSTEM VARS
## MOODLE
MOODLE_IMG=erseco/alpine-php7-webserver:1.10.0
MOODLE_VERSION=MOODLE_311_STABLE
MOODLE_MAX_FILESIZE_UPLOAD=200M
MOODLE_MAX_EXECUTION_TIME=300
MOODLE_MEMORY_LIMIT=128M
## NEXTCLOUD
# If enabled overrides nextcloud.yaml default image.
# You usually do not want to change this, but instead rely on DD's version.
#NEXTCLOUD_IMG_OVERRIDE=nextcloud:25.0.5-fpm-alpine
## ONLYOFFICE
ONLYOFFICE_IMG=alehoho/oo-ce-docker-license:6.3.1.32
## WORDPRESS
WORDPRESS_IMG=wordpress:5.7.2-php7.4-apache
WORDPRESS_CLI_IMG=wordpress:cli-2.5.0-php7.4
## KEYCLOAK
KEYCLOAK_IMG=quay.io/keycloak/keycloak:16.1.1
## ETHERPAD
#ETHERPAD_IMG=node:16.13.2
ETHERPAD_VERSION=1.8.15
## POSTGRESQL
POSTGRESQL_IMG=postgres:14.1-alpine3.15
## MARIADB
#MARIADB_IMG=mariadb:10.6.5
## NGINX
#NGINX_ALPINE_IMG=nginx:1.22.1-alpine
## REDIS
#REDIS_IMG=redis:6.2.6-alpine3.15
## POSTGRES BACKUP LOCAL
#POSTGRES_BACKUP_LOCAL_IMG=prodrigestivill/postgres-backup-local:14-debian-2aa03d1
## HAPROXY
#HAPROXY_IMG=haproxy:2.4.12-alpine3.15
## MINIO
#MINIO_IMG=mino/minio:RELEASE.2022-01-25T19-56-04Z
## CLAMAV
#CLAMAV_IMG=clamav/clamav:0.105.1-7
#DISABLE_CLAMAV=true
## Network settings
#NETWORK_MTU=1500