Add Docker Compose setup for local development

PHP 8.3/Apache + MariaDB 11.4 with the repo bind-mounted as web root.
Apache denies dotfiles (.env, .git), the docker files and /install-dev
(installation runs via CLI as www-data, see docker-compose.yml).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DanielS
2026-11-11 00:20:03 +01:00
parent ec79686a7d
commit e32cd8f6ed
6 changed files with 93 additions and 1 deletions

10
.env.example Normal file
View File

@@ -0,0 +1,10 @@
# Copy to .env for local development. Local test values only, never use in production.
APP_PORT=8080
DB_NAME=qloapps
DB_USER=qloapps
DB_PASSWORD=qlo_local_dev
DB_ROOT_PASSWORD=qlo_local_root
# Local admin created by the CLI installer (test values only)
ADMIN_EMAIL=admin@hotel.test
ADMIN_PASSWORD=change-me