Files
hotel/docker-compose.yml
DanielS 8434d950dd Add German front-office translations
The German language pack leaves ~180 shop strings in English (search
bar, cart, room cards, footer, account menu). docker/apply-translations.php
fills only missing keys from docker/translations-de-front.php and fixes
English values in the theme language file; docker/find-missing-translations.php
lists remaining gaps. Module/theme de.php files are git-ignored upstream
(downloaded on install), so the script is re-run after each install.
Also includes the language-pack updates the installer wrote to the
tracked module de.php files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 00:33:32 +01:00

47 lines
1.6 KiB
YAML

# Local development setup for QloApps.
# Start: docker compose up -d --build
# Shop: http://localhost:8080
# Admin: http://localhost:8080/admin-dev (login: ADMIN_EMAIL / ADMIN_PASSWORD from .env)
# Values come from .env (copy .env.example to .env).
#
# Install (once, as www-data so file permissions stay correct; the web installer is blocked):
# docker compose exec -u www-data app php install-dev/index_cli.php --language=de --country=de \
# --timezone=Europe/Berlin --domain=localhost:8080 --db_server=db --db_user=qloapps \
# --db_password=<DB_PASSWORD> --db_name=qloapps --email=<ADMIN_EMAIL> --password=<ADMIN_PASSWORD> \
# --newsletter=0
#
# Then (as www-data): fill German front-office gaps and load the Wasserrad demo content:
# docker compose exec -u www-data app php docker/apply-translations.php de
# docker compose exec -u www-data app php docker/seed-wasserrad-demo.php
services:
app:
build: ./docker
ports:
- "${APP_PORT:-8080}:80"
volumes:
- ./:/var/www/html
depends_on:
db:
condition: service_healthy
restart: unless-stopped
db:
image: mariadb:11.4
environment:
MARIADB_DATABASE: ${DB_NAME:-qloapps}
MARIADB_USER: ${DB_USER:-qloapps}
MARIADB_PASSWORD: ${DB_PASSWORD:?set DB_PASSWORD in .env}
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:?set DB_ROOT_PASSWORD in .env}
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 5s
timeout: 5s
retries: 20
restart: unless-stopped
volumes:
db_data: