Deployment
Production deployment of Blog System behind a reverse proxy.
Environment variables
| Variable | Purpose | Default |
|---|---|---|
APP_ENV |
Environment | production |
DATABASE_URL |
Database connection string | — |
APP_KEY |
Encryption key | — |
docker-compose
services:
blog:
image: winter/blog-system
environment:
APP_ENV: production
expose:
- "8080"Warning
Always set APP_KEY — sessions and encryption won’t work without it.