diff --git a/core/.example-env b/core/.example-env deleted file mode 100644 index 8030ac3..0000000 --- a/core/.example-env +++ /dev/null @@ -1,21 +0,0 @@ -# General -DOMAIN= -ADMINER_VERSION= -MARIADB_VERSION= -POSTGRES_VERSION= -TRAEFIK_VERSION= - -# MariaDB -MARIADB_ROOT_PASSWORD= -MARIADB_USER= -MARIADB_PASSWORD= - -# Postgres -POSTGRES_PASSWORD= -POSTGRES_USER= - -# Traefik -TRAEFIK_USERNAME= -TRAEFIK_PASSWORD= -TRAEFIK_EMAIL= -TRAEFIK_HASHED_PASSWORD= diff --git a/drupal/.example-env b/drupal/.example-env deleted file mode 100644 index b7cffe8..0000000 --- a/drupal/.example-env +++ /dev/null @@ -1,8 +0,0 @@ -DOMAIN= -DRUPAL_DB_HOST=postgres -DRUPAL_DB_NAME= -DRUPAL_DB_PASSWORD= -DRUPAL_DB_PORT= -DRUPAL_DB_USER= -DRUPAL_VERSION= - diff --git a/drupal/create_infra.bash b/drupal/create_infra.bash deleted file mode 100755 index 15a68cc..0000000 --- a/drupal/create_infra.bash +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - - -if [ ! -d "drupal/root" ]; then - mkdir -p drupal/root - docker run --rm drupal:11.1.6-php8.4-fpm-bookworm tar -cC /opt/drupal/ . | tar -xC drupal/root -fi - -source ../core/.env -source .env - -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE USER $DRUPAL_DB_USER WITH PASSWORD '$DRUPAL_DB_PASSWORD';" -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $DRUPAL_DB_NAME OWNER $DRUPAL_DB_USER;" -docker exec postgres psql -U $POSTGRES_USER -d $DRUPAL_DB_NAME -c "GRANT ALL PRIVILEGES ON DATABASE $DRUPAL_DB_NAME TO $DRUPAL_DB_USER;" diff --git a/hedgedoc/.example-env b/hedgedoc/.example-env deleted file mode 100644 index 0f63d53..0000000 --- a/hedgedoc/.example-env +++ /dev/null @@ -1,8 +0,0 @@ -HEDGEDOC_DOMAIN= -HEDGEDOC_DB_USER= -HEDGEDOC_DB_PASSWORD= -HEDGEDOC_DB_NAME= -HEDGEDOC_DB_HOST= -HEDGEDOC_DB_PORT= -HEDGEDOC_USERNAME= -HEDGEDOC_USER_PASSWORD= diff --git a/hedgedoc/create_infra.bash b/hedgedoc/create_infra.bash deleted file mode 100755 index 7460808..0000000 --- a/hedgedoc/create_infra.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -source .env -source ../core/.env - -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE USER $HEDGEDOC_DB_USER WITH PASSWORD '$HEDGEDOC_DB_PASSWORD';" -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $HEDGEDOC_DB_NAME OWNER $HEDGEDOC_DB_USER;" -docker exec postgres psql -U $POSTGRES_USER -d $HEDGEDOC_DB_NAME -c "GRANT ALL PRIVILEGES ON DATABASE $HEDGEDOC_DB_NAME TO $HEDGEDOC_DB_USER;" diff --git a/onlyoffice/.example-env b/onlyoffice/.example-env deleted file mode 100644 index 0c2e617..0000000 --- a/onlyoffice/.example-env +++ /dev/null @@ -1,8 +0,0 @@ -ONLYOFFICE_JWT_SECRET= -ONLYOFFICE_DB_HOST=postgres -ONLYOFFICE_DB_NAME= -ONLYOFFICE_DB_PASSWORD= -ONLYOFFICE_DB_PORT=5432 -ONLYOFFICE_DB_TYPE=postgres -ONLYOFFICE_DB_USER= - diff --git a/onlyoffice/create_infra.bash b/onlyoffice/create_infra.bash deleted file mode 100755 index 19c4006..0000000 --- a/onlyoffice/create_infra.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -source .env -source ../core/.env - -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE USER $ONLYOFFICE_DB_USER WITH PASSWORD '$ONLYOFFICE_DB_PASSWORD';" -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $ONLYOFFICE_DB_NAME OWNER $ONLYOFFICE_DB_USER;" -docker exec postgres psql -U $POSTGRES_USER -d $ONLYOFFICE_DB_NAME -c "GRANT ALL PRIVILEGES ON DATABASE $ONLYOFFICE_DB_NAME TO $ONLYOFFICE_DB_USER;" diff --git a/openproject/.env-example b/openproject/.env-example deleted file mode 100644 index cb62960..0000000 --- a/openproject/.env-example +++ /dev/null @@ -1,20 +0,0 @@ -## -# All environment variables defined here will only apply if you pass them -# to the OpenProject container in docker-compose.yml under x-op-app -> environment. -# For the examples here this is already the case. -# -# Please refer to our documentation to see all possible variables: -# https://www.openproject.org/docs/installation-and-operations/configuration/environment/ -# -OPENPROJECT_DOMAIN= -OPENPROJECT_TAG= -OPENPROJECT_HTTPS= -OPENPROJECT_HOST__NAME= -OPENPROJECT_PORT= -OPENPROJECT_IMAP_ENABLED=false -OPENPROJECT_POSTGRES_USER= -OPENPROJECT_POSTGRES_PASSWORD= -OPENPROJECT_POSTGRES_DB= -OPENPROJECT_RAILS_MIN_THREADS= -OPENPROJECT_RAILS_MAX_THREADS= -OPENPROJECT_OPDATA= diff --git a/openproject/create_infra.bash b/openproject/create_infra.bash deleted file mode 100755 index e3cebe6..0000000 --- a/openproject/create_infra.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -source .env -source ../core/.env - -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE USER $OPENPROJECT_DB_USER WITH PASSWORD '$OPENPROJECT_DB_PASSWORD';" -docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $OPENPROJECT_DB_NAME OWNER $OPENPROJECT_DB_USER;" -docker exec postgres psql -U $POSTGRES_USER -d $OPENPROJECT_DB_NAME -c "GRANT ALL PRIVILEGES ON DATABASE $OPENPROJECT_DB_NAME TO $OPENPROJECT_DB_USER;"