11 lines
480 B
Plaintext
Raw Permalink Normal View History

2025-02-19 13:46:45 +01:00
{% if applications | get_oauth2_enabled(application_id) %}
2025-01-26 15:15:23 +01:00
oauth2-proxy:
2025-02-03 11:44:13 +01:00
image: quay.io/oauth2-proxy/oauth2-proxy:{{applications.oauth2_proxy.version}}
2025-01-26 15:15:23 +01:00
restart: {{docker_restart_policy}}
command: --config /oauth2-proxy.cfg
hostname: oauth2-proxy
ports:
2025-02-12 12:41:13 +01:00
- {{ports.localhost.oauth2_proxy[application_id]}}:4180/tcp
2025-01-26 15:15:23 +01:00
volumes:
- "{{docker_compose.directories.volumes}}{{applications.oauth2_proxy.configuration_file}}:/oauth2-proxy.cfg"
{% endif %}