mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
refactor(web-app-wordpress): unify variable naming to uppercase WORDPRESS_* style
- Replaced all lowercase wordpress_* variables with uppercase WORDPRESS_* equivalents - Ensured consistency across tasks, templates, and vars - Improves readability and aligns with naming conventions Conversation: https://chatgpt.com/share/68af29b5-8e7c-800f-bd12-48cc5956311c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM {{ wordpress_image }}:{{ wordpress_version }}
|
||||
FROM {{ WORDPRESS_IMAGE }}:{{ WORDPRESS_VERSION }}
|
||||
|
||||
# Install msmtp and update system
|
||||
RUN apt-get update && \
|
||||
|
@@ -1,14 +1,14 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
application:
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: {{ wordpress_custom_image }}
|
||||
container_name: {{ wordpress_container }}
|
||||
image: {{ WORDPRESS_CUSTOM_IMAGE }}
|
||||
container_name: {{ WORDPRESS_CONTAINER }}
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:80"
|
||||
volumes:
|
||||
- data:{{ wordpress_docker_html_path }}
|
||||
- data:{{ WORDPRESS_DOCKER_HTML_PATH }}
|
||||
|
||||
{% include 'roles/docker-container/templates/healthcheck/msmtp_curl.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
||||
data:
|
||||
name: "{{ wordpress_volume }}"
|
||||
name: "{{ WORDPRESS_VOLUME }}"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
file_uploads = On
|
||||
memory_limit = {{ wordpress_max_upload_size }}
|
||||
upload_max_filesize = {{ wordpress_max_upload_size }}
|
||||
post_max_size = {{ wordpress_max_upload_size }}
|
||||
memory_limit = {{ WORDPRESS_MAX_UPLOAD_SIZE }}
|
||||
upload_max_filesize = {{ WORDPRESS_MAX_UPLOAD_SIZE }}
|
||||
post_max_size = {{ WORDPRESS_MAX_UPLOAD_SIZE }}
|
||||
max_execution_time = 300
|
||||
|
||||
; Use msmtp as the Mail Transfer Agent
|
||||
|
Reference in New Issue
Block a user