mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
11 lines
480 B
Django/Jinja
11 lines
480 B
Django/Jinja
{% if applications | get_oauth2_enabled(application_id) %}
|
|
oauth2-proxy:
|
|
image: quay.io/oauth2-proxy/oauth2-proxy:{{applications.oauth2_proxy.version}}
|
|
restart: {{docker_restart_policy}}
|
|
command: --config /oauth2-proxy.cfg
|
|
hostname: oauth2-proxy
|
|
ports:
|
|
- {{ports.localhost.oauth2_proxy[application_id]}}:4180/tcp
|
|
volumes:
|
|
- "{{docker_compose.directories.volumes}}{{applications.oauth2_proxy.configuration_file}}:/oauth2-proxy.cfg"
|
|
{% endif %} |