1.5 KiB
1.5 KiB
Deployment
De standaard productieopstelling gebruikt afzonderlijke web-, worker-, scheduler-, PostgreSQL- en Rediscontainers. Voor Unraid is daarnaast een bewaakte AIO-variant beschikbaar. Poort 1226 is de configureerbare externe standaard; de applicatie luistert intern op 8080.
Gebruik nooit wildcardhosts of secrets uit voorbeeldbestanden. PUBLIC_BASE_URL is de publieke bron van waarheid voor host-, origin-, HTTPS- en cookieconfiguratie.
Productiebewijs 0.3.13
- Doel:
/mnt/user/appdata/VacatureRadar, composeprojectvacatureradar, hostpoort 1226 naar containerpoort 8080. - Actieve image:
sha256:5271a18ce719621db80c1b5072d1290623af357772744f7c43b1a42269399af8. - Docker 27.5.1 en Compose 2.40.3 bouwden werkelijk; 148 static files werden verzameld.
migrate --noinputmeldde geen openstaande migrations. Een volledige containerrestart eindigde healthy met database en cacheok.- Publiek HTTP redirect naar HTTPS; OpenResty levert HSTS en de applicatie antwoordt zonder
DisallowedHost.
Exacte rollback: tag de bewaarde image als vacatureradar:unraid en voer in de doelmap docker compose -f docker-compose.unraid.yml up -d --force-recreate --no-build app uit. Deze procedure is live getest en daarna teruggedraaid naar 0.3.13.