From d915b534f4b2c5b15835c5bc8412cab9eda7b6ac Mon Sep 17 00:00:00 2001 From: Robin Alexander Date: Sun, 8 Jun 2025 18:35:43 +0200 Subject: [PATCH] chore: drop docker-related objects Remove remaining docker-related objects, for they are useless in the app context --- docker/README.md | 4 ---- entrypoint.sh | 15 --------------- 2 files changed, 19 deletions(-) delete mode 100644 docker/README.md delete mode 100755 entrypoint.sh diff --git a/docker/README.md b/docker/README.md deleted file mode 100644 index b66f9e5b3..000000000 --- a/docker/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Docker Deployment - -Please see https://github.com/LibreBooking/docker for information on using -LibreBooking with Docker. diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100755 index 56b991834..000000000 --- a/entrypoint.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -if ! [ -f config/config.php ]; then \ - if [ "$LB_ENV" = "production" ]; then cp config/config.dist.php config/config.php; fi; \ - if [ "$LB_ENV" = "dev" ]; then cp config/config.devel.php config/config.php; fi; \ - echo '$conf["settings"]["database"]["user"] = ' "'$DB_USER';" >>config/config.php; \ - echo '$conf["settings"]["database"]["password"] = ' "'$DB_PASSWORD';" >>config/config.php; \ - echo '$conf["settings"]["database"]["hostspec"] = ' "'$DB_HOST';" >>config/config.php; \ - echo '$conf["settings"]["database"]["name"] = ' "'$DB_DATABASE';" >>config/config.php; \ - echo '$conf["settings"]["install.password"] = ' "'$INSTALL_PASSWORD';" >>config/config.php; \ - echo '$conf["settings"]["script.url"] = ' "'$SCRIPT_URL';" >>config/config.php; \ - echo '$conf["settings"]["admin.email"] = ' "'$ADMIN_EMAIL';" >>config/config.php; \ -fi - -apache2-foreground