Production Caddy/FPM setup (build/Dockerfile, docker-compose.yml) is untouched -- this only swaps the local dev stack. - .ddev/config.yaml: PHP 8.4, Node 20, sqlite (db container omitted), libreoffice/ghostscript/poppler/sqlite3 packages, Vite port 5173 via Traefik, post-start hooks bootstrap the app on every `ddev start`. - .ddev/commands/web/dev: custom `ddev dev` runs queue + pail + vite (mirror of old `composer dev`). - start_dev.sh / stop_dev.sh: rewritten as DDEV wrappers so devs can onboard without DDEV knowledge; --keep-ddev keeps containers up. - vite.config.js: HMR over WSS to https://pp-planer.ddev.site:5173. - playwright + auth.setup.ts: baseURL switched to https://pp-planer.ddev.site. - .env.example: APP_URL and CHURCHTOOLS_REDIRECT_URI use ddev.site. - composer: drop laravel/sail (replaced by DDEV). - package.json: add explicit "name" so host/container lockfiles match (container WORKDIR is /var/www/html, npm would otherwise pick "html" as project name). - tests/fixtures/propresenter/Test.pro: inline reference fixture; tests no longer depend on a sibling host directory. - AGENTS.md: docs rewritten for DDEV workflow.
92 lines
1.9 KiB
Plaintext
92 lines
1.9 KiB
Plaintext
APP_NAME="CTS Presenter"
|
|
APP_ENV=local
|
|
APP_KEY=
|
|
APP_DEBUG=true
|
|
APP_URL=https://pp-planer.ddev.site
|
|
|
|
# Application Locale (German)
|
|
APP_LOCALE=de
|
|
APP_FALLBACK_LOCALE=de
|
|
APP_FAKER_LOCALE=de_DE
|
|
|
|
APP_MAINTENANCE_DRIVER=file
|
|
|
|
BCRYPT_ROUNDS=12
|
|
|
|
LOG_CHANNEL=stack
|
|
LOG_STACK=single
|
|
LOG_DEPRECATIONS_CHANNEL=null
|
|
LOG_LEVEL=debug
|
|
|
|
# Database Configuration (SQLite by default, can switch to MySQL)
|
|
DB_CONNECTION=sqlite
|
|
# DB_HOST=127.0.0.1
|
|
# DB_PORT=3306
|
|
# DB_DATABASE=cts_presenter
|
|
# DB_USERNAME=root
|
|
# DB_PASSWORD=
|
|
|
|
SESSION_DRIVER=database
|
|
SESSION_LIFETIME=120
|
|
SESSION_ENCRYPT=false
|
|
SESSION_PATH=/
|
|
SESSION_DOMAIN=null
|
|
|
|
BROADCAST_CONNECTION=log
|
|
FILESYSTEM_DISK=local
|
|
QUEUE_CONNECTION=database
|
|
|
|
CACHE_STORE=database
|
|
|
|
MEMCACHED_HOST=127.0.0.1
|
|
|
|
REDIS_CLIENT=phpredis
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PASSWORD=null
|
|
REDIS_PORT=6379
|
|
|
|
# Mail Configuration
|
|
MAIL_MAILER=smtp
|
|
MAIL_SCHEME=tls
|
|
MAIL_HOST=smtp.example.com
|
|
MAIL_PORT=587
|
|
MAIL_USERNAME=null
|
|
MAIL_PASSWORD=null
|
|
MAIL_FROM_ADDRESS="noreply@example.com"
|
|
MAIL_FROM_NAME="${APP_NAME}"
|
|
SONG_REQUEST_EMAIL="songs@example.com"
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_DEFAULT_REGION=us-east-1
|
|
AWS_BUCKET=
|
|
AWS_USE_PATH_STYLE_ENDPOINT=false
|
|
|
|
VITE_APP_NAME="${APP_NAME}"
|
|
|
|
# ChurchTools API Configuration
|
|
# Get these values from your ChurchTools instance
|
|
CTS_API_URL=https://CHANGEME.church.tools
|
|
CTS_API_TOKEN=CHANGEME
|
|
|
|
# ChurchTools OAuth Configuration
|
|
# Required for user authentication via ChurchTools
|
|
CHURCHTOOLS_URL=https://CHANGEME.church.tools
|
|
CHURCHTOOLS_CLIENT_ID=CHANGEME
|
|
CHURCHTOOLS_CLIENT_SECRET=CHANGEME
|
|
CHURCHTOOLS_REDIRECT_URI=https://pp-planer.ddev.site/auth/churchtools/callback
|
|
|
|
# File Upload Configuration
|
|
# Maximum file size in bytes (default: 100MB)
|
|
UPLOAD_MAX_FILE_SIZE=104857600
|
|
UPLOAD_TEMP_DIR=/tmp
|
|
|
|
# TestData
|
|
TEST_CTS_USERNAME=
|
|
TEST_CTS_PASSWORD=
|
|
|
|
# Production Docker only: map FPM worker to host user (run `id -u` and `id -g`).
|
|
# Not used by DDEV local dev.
|
|
WWWUSER=1000
|
|
WWWGROUP=1000
|