service: Allow custom postgres image

This commit is contained in:
uumas
2025-06-27 00:03:30 +03:00
parent 78860da6a4
commit a10bf366e6
3 changed files with 8 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
name: container
vars:
container_name: "{{ service_name }}-{{ service_database_type }}" # This doesn't use _service_database_name to allow container role handlers to work
container_image: "docker.io/library/postgres:{{ service_postgres_tag }}"
container_image: "{{ service_postgres_image }}:{{ service_postgres_tag }}"
container_mounts:
- type: volume
source: "{{ _service_database_name }}"