# 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`
