mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
Refactor Joomla role to new docker.* schema
- Move image definition from images.joomla to docker.services.joomla - Add container name, container_port variable, and healthcheck - Introduce JOOMLA_IMAGE, JOOMLA_VERSION, JOOMLA_CONTAINER, JOOMLA_VOLUME in vars - Use volume mapping via docker.volumes.data See: https://chatgpt.com/share/68af55a9-6514-800f-b6f7-1dc86356936e
This commit is contained in:
@@ -1,2 +1,10 @@
|
||||
# General
|
||||
application_id: "web-app-joomla"
|
||||
database_type: "postgres"
|
||||
database_type: "postgres"
|
||||
container_port: 80
|
||||
|
||||
# Joomla
|
||||
JOOMLA_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.joomla.version') }}"
|
||||
JOOMLA_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.joomla.image') }}"
|
||||
JOOMLA_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.joomla.name') }}"
|
||||
JOOMLA_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.data') }}"
|
Reference in New Issue
Block a user