Files
fewo-stommer/.env.production.example
T
Lars StommerandClaude Opus 5.5 8d904660b9 Automatisches Deployment nach Strato (atomare Releases, Rollback, Gitea Actions)
- scripts/deploy.sh: Build aus Git-Stand (Composer ohne Dev, Vite), Upload per SSH, Migration, Caches, atomarer Umschalter current -> releases/<zeit>, Gesundheitscheck mit automatischem Rollback; Befehle setup/deploy/rollback/releases/artisan; lokaler Testmodus
- .gitea/workflows/deploy.yml: Tests bei jedem Push, Deployment bei Tags v* oder per Knopfdruck
- Vorlagen scripts/deploy.example.env und .env.production.example (Strato MySQL, SMTP, IMAP)
- Scheduler-Endpunkt /automation/scheduler als Ausweich für fehlende Cronjobs
- ProductionSeeder für die Ersteinrichtung ohne Testdaten

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 15:28:00 +02:00

64 lines
1.5 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Production settings – copy to <DEPLOY_PATH>/shared/.env on the server and fill in.
# Generate APP_KEY locally once: php artisan key:generate --show
APP_NAME="Ferienwohnung Stommer"
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://www.fewo-stommer.de
APP_TIMEZONE=Europe/Berlin
APP_LOCALE=de
APP_FALLBACK_LOCALE=de
APP_FAKER_LOCALE=de_DE
APP_MAINTENANCE_DRIVER=file
LOG_CHANNEL=daily
LOG_LEVEL=warning
# Strato MySQL (Kundenlogin › Datenbanken und Webspace › Datenbanken verwalten)
DB_CONNECTION=mysql
DB_HOST=
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_SECURE_COOKIE=true
CACHE_STORE=database
QUEUE_CONNECTION=sync
FILESYSTEM_DISK=local
# Strato mailbox fewo@stommer.de
MAIL_MAILER=smtp
MAIL_HOST=smtp.strato.de
MAIL_PORT=465
MAIL_SCHEME=smtps
MAIL_USERNAME=fewo@stommer.de
MAIL_PASSWORD=
MAIL_FROM_ADDRESS="fewo@stommer.de"
MAIL_FROM_NAME="${APP_NAME}"
FEWO_OWNER_NAME="Brigitte Stommer"
FEWO_OWNER_EMAIL=fewo@stommer.de
FEWO_NOTIFICATION_EMAIL=fewo@stommer.de
FEWO_BANK_ACCOUNT_HOLDER=
FEWO_BANK_IBAN=
FEWO_BANK_BIC=
FEWO_BANK_NAME=
# Portal booking e-mails (fast path)
FEWO_MAILBOX_HOST=imap.strato.de
FEWO_MAILBOX_PORT=993
FEWO_MAILBOX_ENCRYPTION=ssl
FEWO_MAILBOX_USERNAME=fewo@stommer.de
FEWO_MAILBOX_PASSWORD=
FEWO_MAILBOX_FOLDER=INBOX
# Monitoring / automation (long random values, e.g. php -r "echo bin2hex(random_bytes(24));")
FEWO_HEALTH_TOKEN=
FEWO_SCHEDULER_TOKEN=
FEWO_AUTOMATION_SECRET=
FEWO_AUTOMATION_WEBHOOK_URL=