add arm64 support and version to consul service

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-09-25 09:18:29 +02:00
parent c1a6684e97
commit b889d9588f
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 8 additions and 1 deletions

View File

@ -6,9 +6,15 @@ oauth_compose_path: '{{ oauth_service_path }}/docker-compose.yml'
oauth_service_user: 'dockremap'
oauth_service_group: 'docker'
# Architectures
oauth_archs_map:
x86_64: 'amd64'
aarch64: 'arm64'
# Container
oauth_version: '7.4.0'
oauth_cont_name: '{{ oauth_service_name }}'
oauth_cont_tag: 'v7.4.0-amd64'
oauth_cont_tag: 'v{{ oauth_version }}-{{ oauth_archs_map[ansible_architecture] }}'
oauth_cont_image: 'quay.io/oauth2-proxy/oauth2-proxy:{{ oauth_cont_tag }}'
oauth_cont_volumes: []
oauth_local_port: 4180

View File

@ -34,6 +34,7 @@
address: '{{ ansible_local.wireguard.vpn_ip }}'
meta:
proxy_fqdn: '{{ oauth_domain }}'
version: '{{ oauth_version }}'
checks:
- id: 'oauth-proxy-health:{{ oauth_domain }}'
name: 'OAuth Proxy Healthcheck'