Athena

Deployment

Deploying Athena with Docker Compose and systemd-friendly runtime settings.

Docker Compose

docker compose up --build

Default 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_PATH
  • POSTGRES_ATHENA_LOGGING_URI
  • ATHENA_PG_DUMP_PATH
  • ATHENA_PG_RESTORE_PATH

Production Recommendations

  1. Pin explicit config path.
  2. Ensure pg_dump and pg_restore paths are valid on the host OS.
  3. Keep logging/audit client healthy before exposing admin operations.
  4. Validate route contracts after deploy:
    • GET /openapi.yaml
    • GET /openapi-wss.yaml