matrix/roles/cinny/defaults/main/container.yml

31 lines
992 B
YAML
Raw Normal View History

2024-09-19 16:04:30 +00:00
---
cinny_container_image: >-
{{
cinny_container_image_registry + '/'
+ ((cinny_container_image_namespace + '/')
if cinny_container_image_namespace | default(false, true) else '')
+ cinny_container_image_name + ':'
+ (cinny_container_image_tag | default('v' + cinny_version, true))
}}
cinny_container_image_registry: "ghcr.io"
cinny_container_image_namespace: "cinnyapp"
cinny_container_image_name: "cinny"
cinny_container_image_tag: ~
cinny_container_name: "cinny"
cinny_container_restart_policy: >-
{{ (cinny_deployment_method == 'docker')
| ternary('unless-stopped',
(cinny_deployment_method == 'podman' |
ternary('on-failure', 'always')))
}}
cinny_container_source: pull
cinny_container_user: "{{ cinny_host_uid }}"
cinny_container_full_volumes: >-
{{ cinny_container_default_volumes
+ cinny_container_volumes | default([]) }}
cinny_container_default_volumes:
- "{{ cinny_config_file }}:/usr/share/nginx/html/config.json:ro"