| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * Site configuration. Copy this file to config.php and fill in your values.
- * config.php is never committed to git and never rewritten by the application.
- */
- return [
- // ---- Site -------------------------------------------------------------
- 'site' => [
- 'name' => 'Jane Doe Photography',
- // Base URL of the public site, no trailing slash. Used for links in
- // shared gallery URLs. Example: 'https://www.example.com'
- 'base_url' => 'https://www.example.com',
- // IANA timezone used for gallery expiry checks.
- 'timezone' => 'Europe/Berlin',
- ],
- // ---- Hetzner Object Storage (S3-compatible) ---------------------------
- // Create the bucket in the Hetzner console, keep it PRIVATE.
- // Endpoint depends on the location, e.g. fsn1/nbg1/hel1.
- 's3' => [
- 'endpoint' => 'https://fsn1.your-objectstorage.com',
- 'region' => 'fsn1',
- 'bucket' => 'my-photo-galleries',
- 'access_key' => 'CHANGE_ME',
- 'secret_key' => 'CHANGE_ME',
- // Lifetime of presigned GET URLs (seconds). Gallery pages embed these;
- // after expiry the browser must reload the page for fresh URLs.
- 'url_ttl' => 3600,
- ],
- // ---- Uploads ----------------------------------------------------------
- 'uploads' => [
- // Longest edge of the client-side generated grid thumbnails (px).
- // Originals are never touched.
- 'thumb_size' => 600,
- // JPEG quality for thumbnails (0.0 - 1.0, used by the browser canvas).
- 'thumb_quality' => 0.8,
- ],
- ];
|