Add complete NexaPantry application structure including: - Docker Compose configuration with PostgreSQL, Redis, FastAPI backend, worker, frontend and Caddy - Environment configuration template with database, auth, and service settings - GitHub Actions CI workflow for backend/frontend linting, testing, auditing and Docker builds - AGPL-3.0 license and comprehensive README with setup, development, and security documentation - Backend
483 B
483 B
Deployment
- Point a domain at the host.
- Copy
.env.exampleto.env. - Replace all secrets and database passwords.
- Set
INSTANCE_URL=https://your.domain. - Set
FRONTEND_ORIGIN=https://your.domain. - Set
COOKIE_SECURE=true. - Configure Caddy with your domain instead of
:80when using automatic TLS. - Start with
docker compose up -d.
For production, expose only Caddy ports. PostgreSQL, Redis, backend and frontend remain on the private Compose network.