Files
jamesp 290ff0bc1e Initial commit
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 15:55:14 -04:00

39 lines
704 B
Markdown

# Directus Setup Contract
This repository uses Directus as a content-only CMS. Layout stays in Astro.
## Collections
- `news`
- `events`
- `notices`
- `fuel_prices`
- `documents`
- `contacts`
- `tags`
## Important relations
- `news` many-to-many `tags`
- `events` many-to-many `tags`
## Runtime configuration
All deploy-time settings live in the root `.env` file and are consumed by Docker Compose.
Required variables include:
- `POSTGRES_DB`
- `POSTGRES_USER`
- `POSTGRES_PASSWORD`
- `DIRECTUS_KEY`
- `DIRECTUS_SECRET`
- `DIRECTUS_ADMIN_EMAIL`
- `DIRECTUS_ADMIN_PASSWORD`
- `DIRECTUS_PUBLIC_URL`
- `DIRECTUS_CORS_ORIGIN`
- `PUBLIC_SITE_URL`
- `DIRECTUS_URL`
- `FRONTEND_PORT`
- `DIRECTUS_PORT`