Docker-Compose/README.md
2024-12-08 18:44:54 +01:00

921 B

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