9b04760423
- Update auth-oauth spec: configurable endpoints via environment variables - Update docker-infrastructure spec: add traefik deployment mode - Add traefik-deployment spec: new capability for reverse proxy deployment
1.2 KiB
1.2 KiB
ADDED Requirements
Requirement: Traefik Docker Compose
The system SHALL provide a docker-compose.traefik.yml for deployment behind an existing Traefik reverse proxy.
Scenario: Service labels
- GIVEN the traefik deployment configuration
- WHEN services are started
- THEN
docker-compose.traefik.ymlSHALL define Traefik Docker labels for each service - AND all routing rules SHALL use configurable domain names
Scenario: Environment variables
- GIVEN the traefik deployment configuration
- WHEN configuring the deployment
- THEN all domain names SHALL be configurable via environment variables
- AND the proxy web name SHALL be configurable via environment variable
Requirement: Environment Configuration
The system SHALL document all required environment variables for traefik deployment.
Scenario: Required variables
- GIVEN a new deployment
- WHEN setting up environment variables
- THEN
.env.exampleSHALL document:API_DOMAIN- domain for API serviceWEB_DOMAIN- domain for web frontendAUTHENTIK_DOMAIN- domain for Authentik instancePROXY_WEB_NAME- name for web proxy service- All Authentik OIDC configuration variables