Deployment
Deploying Athena with Docker Compose and systemd-friendly runtime settings.
Docker Compose
docker compose up --buildDefault API endpoint:
http://localhost:4052
Enable cache path with:
ATHENA_REDIS_URL=redis://redis:6379
systemd
Use scripts/athena.service and set runtime env in the referenced env file.
Key settings:
ATHENA_CONFIG_PATHPOSTGRES_ATHENA_LOGGING_URIATHENA_PG_DUMP_PATHATHENA_PG_RESTORE_PATH
Production Recommendations
- Pin explicit config path.
- Ensure
pg_dumpandpg_restorepaths are valid on the host OS. - Keep logging/audit client healthy before exposing admin operations.
- Validate route contracts after deploy:
GET /openapi.yamlGET /openapi-wss.yaml