chore(gitea): split container_image_name into parts for easier overriding
This commit is contained in:
parent
80077af008
commit
f231d4e7d3
@ -11,9 +11,20 @@ gitea_domain: ~
|
|||||||
|
|
||||||
# container config
|
# container config
|
||||||
gitea_container_name: "{{ gitea_user }}"
|
gitea_container_name: "{{ gitea_user }}"
|
||||||
gitea_container_image_name: "docker.io/gitea/gitea"
|
gitea_contianer_image_server: "docker.io"
|
||||||
|
gitea_container_image_name: "gitea"
|
||||||
|
gitea_container_image_namespace: gitea
|
||||||
|
gitea_container_image_fq_name: >-
|
||||||
|
{{
|
||||||
|
[
|
||||||
|
gitea_container_image_server,
|
||||||
|
gitea_container_image_namespace,
|
||||||
|
gitea_container_image_name
|
||||||
|
] | join('/')
|
||||||
|
}}
|
||||||
gitea_container_image_tag: "{{ gitea_version }}"
|
gitea_container_image_tag: "{{ gitea_version }}"
|
||||||
gitea_container_image: "{{ gitea_container_image_name }}:{{ gitea_container_image_tag }}"
|
gitea_container_image: >-2
|
||||||
|
{{ gitea_container_image_fq_name }}:{{ gitea_container_image_tag }}
|
||||||
gitea_container_networks: []
|
gitea_container_networks: []
|
||||||
gitea_container_purge_networks: ~
|
gitea_container_purge_networks: ~
|
||||||
gitea_container_restart_policy: "unless-stopped"
|
gitea_container_restart_policy: "unless-stopped"
|
||||||
|
Loading…
Reference in New Issue
Block a user