No description
Find a file
2024-12-08 19:42:49 +01:00
keycloak add ignore 2024-12-08 11:41:46 +01:00
mysql-initdb add ignore 2024-12-08 11:41:46 +01:00
.docker-compose.http.yml fix 2024-12-08 19:42:49 +01:00
.docker-compose.https.yml update keycloak url 2024-12-08 13:46:08 +01:00
.gitignore update gitirgnore 2024-12-08 18:41:22 +01:00
README.md update link 2024-12-08 18:53:53 +01:00
setup.sh fix 2024-12-08 19:42:49 +01:00

Docker Compose Repo for Open Datenschutzcenter

Installation of Open Datenschutzcenter

Use the root user to setup docker and the Open Datenschutzcenter

su root

To use the setup script for docker-compose, run the following commands.

echo "Download Setup Script"
wget https://git.h2-invent.com/Datenschutzcenter/Docker-Compose/raw/branch/main/setup.sh
echo "Execute Setup Script"
bash setup.sh
echo "Remove Setup Script"
rm setup.sh
echo "Execute Docker Compose"
cd /opt/odc && docker-compose up -d

Working directory

The setup script will clone and add files into the directory /opt/odc.

You can run the composer command inside this directory again to update the containers or check the variables which are used to setup the containers.

cd /opt/odc

Following Files are important and have been changed and setup with the script:

  • .env.local
  • docker.config
  • docker-compose.yml

Add additional custom configs

To add additional custom environment variables, you can add a file .env.custom and add your variables there. This file will not be changed from the setup script and will be used inside all containers to overwrite the existing .env and .env.local. All environment variables can be found inside the Git Repository: Open Datenschutzcenter

MAILER_DSN='smtps://<username>:<password>@<smtpHost>:<smtpPort>'
registerEmailAdress=register@local.local
registerEmailName=Datenschutzcenter
defaultEmailAdress=test@test.com
defaultEmailName=test
AKADEMIE_EMAIL=akademie@lokal.lokal
DEFAULT_EMAIL=notification@lokal.lokal
DEV_EMAIL=dev@lokal.lokal
SUPPORT_MAIL=support@lokal.lokal

imprint=https://h2-invent.com/imprint
dataPrivacy=https://h2-invent.com/gdpr
superAdminRole=odc-super-admin

CRON_TOKEN=token