infra/playbooks/roles/hatecomputers-club/templates/docker-compose.yml.j2

22 lines
799 B
Django/Jinja

version: '3'
services:
kanidm:
image: git.hatecomputers.club/hatecomputers/hatecomputers.club:latest
restart: always
ports:
- 127.0.0.1:9696:8080
environment:
- CLOUDFLARE_TOKEN={{ cloudflare_api_token }}
- CLOUDFLARE_ZONE={{ cloudflare_zone_id }}
- OAUTH_SCOPES={{ hatecomputers_club_oauth2_scope }}
- OAUTH_AUTH_URL={{ hatecomputers_club_oauth2_auth_url }}
- OAUTH_TOKEN_URL={{ hatecomputers_club_oauth2_token_url }}
- OAUTH_CLIENT_ID={{ hatecomputers_club_oauth2_client_id }}
- OAUTH_CLIENT_SECRET={{ hatecomputers_club_oauth2_client_secret }}
- OAUTH_REDIRECT_URI={{ hatecomputers_club_oauth2_redirect_uri }}
- OAUTH_USER_INFO_URI={{ hatecomputers_club_oauth2_user_info_uri }}
volumes:
- ./db:/app/db