# # 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 . # # 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 #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 # ------ 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 ## 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 (https://sso.$DOMAIN/dd-sso-adminer) ##============================================================================= ### The adminer user/pwd is admin/$KEYCLOAK_PASSWORD POSTGRES_USER=admin POSTGRES_PASSWORD=postgrespostgres ## MARIADB (https://sso.$DOMAIN/dd-sso-adminer) ##============================================================================= ### The adminer user/pwd is admin/$KEYCLOAK_PASSWORD ### MARIADB_USER=root (it is the defaults in the container MARIADB_PASSWORD=SuperSecret ## FREEIPA (disabled) ##============================================================================= IPA_ADMIN_PWD=freeipafreeipa ## WORKS BEHIND PROXY BEHIND_PROXY=false # 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 MOODLE_PLUGIN_JITSI=https://moodle.org/plugins/download.php/23360/mod_jitsi_moodle310_2021052500.zip MOODLE_PLUGIN_BBB=https://moodle.org/plugins/download.php/23294/mod_bigbluebuttonbn_moodle310_2019101009.zip MOODLE_PLUGIN_SAML=https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip MOODLE_PLUGIN_TRESIPUNTSHARE=https://github.com/3iPunt/moodle_mod_tresipuntshare/archive/refs/heads/master.zip MOODLE_PLUGIN_TRESIPUNTVIDEO=https://github.com/3iPunt/moodle_mod_tresipuntvideo/archive/refs/heads/master.zip MOODLE_PLUGIN_TRESIPUNTAUDIO=https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip MOODLE_PLUGIN_ASSIGNSUBMISSION=https://github.com/3iPunt/moodle_assignsubmission_tipnc/archive/refs/heads/master.zip MOODLE_PLUGIN_TRESIPUNTMODSPEND=https://gitlab.com/DD-workspace/DD/-/raw/main/custom.sample/moodle/plugins/block_tresipuntmodspend.zip?inline=false MOODLE_THEME_CBE=https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip ## NEXTCLOUD NEXTCLOUD_IMG=nextcloud:21.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_IMG=nginx:1.21.6 #NGINX_ALPINE_IMG=nginx:1.21.6-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 ## Network settings #NETWORK_MTU=1500