- Served the guest PWA at /g/{token} and introduced a mobile-friendly gallery page with lazy-loaded thumbnails, themed colors, lightbox, and download links plus new gallery data client (resources/js/guest/pages/PublicGalleryPage.tsx:1, resources/js/guest/services/galleryApi.ts:1, resources/js/guest/router.tsx:1). Added i18n strings for the public gallery experience (resources/js/guest/i18n/messages.ts:1).
- Ensured checkout step changes snap back to the progress bar on mobile via smooth scroll anchoring (resources/ js/pages/marketing/checkout/CheckoutWizard.tsx:1).
- Enabled tenant admins to export all approved event photos through a new download action that streams a ZIP archive, with translations and routing in place (app/Http/Controllers/Tenant/EventPhotoArchiveController.php:1, app/Filament/Resources/EventResource.php:1, routes/web.php:1, resources/lang/de/admin.php:1, resources/lang/en/admin.php:1).
138 lines
3.0 KiB
YAML
138 lines
3.0 KiB
YAML
version: "3.9"
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
PHP_VERSION: 8.3
|
|
NODE_VERSION: 20
|
|
image: fotospiel-app:latest
|
|
env_file:
|
|
- docker/.env.docker
|
|
environment:
|
|
APP_ENV: ${APP_ENV:-production}
|
|
APP_DEBUG: ${APP_DEBUG:-false}
|
|
APP_SOURCE: /opt/app
|
|
APP_TARGET: /var/www/html
|
|
APP_USER: www-data
|
|
APP_GROUP: www-data
|
|
volumes:
|
|
- app-code:/var/www/html
|
|
depends_on:
|
|
mysql:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_started
|
|
restart: unless-stopped
|
|
|
|
web:
|
|
image: nginx:1.25-alpine
|
|
depends_on:
|
|
- app
|
|
volumes:
|
|
- app-code:/var/www/html:ro
|
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
ports:
|
|
- "${APP_HTTP_PORT:-8080}:80"
|
|
restart: unless-stopped
|
|
|
|
queue:
|
|
image: fotospiel-app:latest
|
|
command: /var/www/html/docs/queue-supervisor/queue-worker.sh default
|
|
env_file:
|
|
- docker/.env.docker
|
|
environment:
|
|
APP_ENV: ${APP_ENV:-production}
|
|
volumes:
|
|
- app-code:/var/www/html
|
|
depends_on:
|
|
- app
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
media-storage-worker:
|
|
image: fotospiel-app:latest
|
|
command: /var/www/html/docs/queue-supervisor/queue-worker.sh media-storage
|
|
env_file:
|
|
- docker/.env.docker
|
|
environment:
|
|
APP_ENV: ${APP_ENV:-production}
|
|
QUEUE_TRIES: 5
|
|
QUEUE_SLEEP: 5
|
|
volumes:
|
|
- app-code:/var/www/html
|
|
depends_on:
|
|
- app
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
scheduler:
|
|
image: fotospiel-app:latest
|
|
command: php artisan schedule:work
|
|
env_file:
|
|
- docker/.env.docker
|
|
environment:
|
|
APP_ENV: ${APP_ENV:-production}
|
|
volumes:
|
|
- app-code:/var/www/html
|
|
depends_on:
|
|
- app
|
|
restart: unless-stopped
|
|
|
|
horizon:
|
|
image: fotospiel-app:latest
|
|
command: /var/www/html/docs/queue-supervisor/horizon.sh
|
|
env_file:
|
|
- docker/.env.docker
|
|
environment:
|
|
APP_ENV: ${APP_ENV:-production}
|
|
volumes:
|
|
- app-code:/var/www/html
|
|
depends_on:
|
|
- app
|
|
- redis
|
|
restart: unless-stopped
|
|
profiles: ["horizon"]
|
|
|
|
redis:
|
|
image: redis:7.4-alpine
|
|
command: ["redis-server", "--save", "", "--appendonly", "no"]
|
|
volumes:
|
|
- redis-data:/data
|
|
ports:
|
|
- "${APP_REDIS_PORT:-6379}:6379"
|
|
restart: unless-stopped
|
|
|
|
mysql:
|
|
image: mysql:8.4
|
|
environment:
|
|
MYSQL_DATABASE: ${DB_DATABASE:-fotospiel}
|
|
MYSQL_USER: ${DB_USERNAME:-fotospiel}
|
|
MYSQL_PASSWORD: ${DB_PASSWORD:-secret}
|
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-secret-root}
|
|
volumes:
|
|
- mysql-data:/var/lib/mysql
|
|
ports:
|
|
- "${APP_DB_PORT:-3306}:3306"
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"mysqladmin",
|
|
"ping",
|
|
"-h",
|
|
"127.0.0.1",
|
|
"-p${DB_PASSWORD:-secret}"
|
|
]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
app-code:
|
|
mysql-data:
|
|
redis-data:
|