34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
---
|
|
snipe_it_container_container_image_registry: docker.io
|
|
snipe_it_container_container_image_namespace: snipe
|
|
snipe_it_container_container_image_name: 'snipe-it'
|
|
snipe_it_container_container_image_tag: ~
|
|
snipe_it_container_container_image_flavour: alpine
|
|
snipe_it_container_container_image_source: pull
|
|
snipe_it_container_container_image_force_source: >-2
|
|
{{ snipe_it_container_container_image_tag | default(false, true) | bool }}
|
|
snipe_it_container_container_image: >-2
|
|
{{
|
|
([
|
|
snipe_it_container_container_image_registry | default([], true),
|
|
snipe_it_container_container_image_namespace | default([], true),
|
|
snipe_it_container_container_image_name,
|
|
] | flatten | join('/'))
|
|
+ ':'
|
|
+ (vaultwarden_container_image_tag | default(
|
|
'v' + vaultwarden_version + (
|
|
((snipe_it_container_container_image_flavour is string)
|
|
and (snipe_it_container_container_image_flavour | length > 0))
|
|
| ternary(
|
|
'-' + snipe_it_container_container_image_flavour | default('', true),
|
|
''
|
|
)
|
|
),
|
|
true
|
|
))
|
|
}}
|
|
|
|
snipe_it_container_env_file: "{{ snipe_it_env_file }}"
|
|
snipe_it_container_user: ~
|
|
snipe_it_container_ #TODO
|