mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Renamed pixelfed parameter
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
|
||||
application:
|
||||
image: "{{ pixelfed_image }}:{{ pixelfed_version }}"
|
||||
container_name: {{ pixelfed_name }}
|
||||
image: "{{ PIXELFED_IMAGE }}:{{ PIXELFED_VERSION }}"
|
||||
container_name: {{ PIXELFED_CONTAINER }}
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
volumes:
|
||||
- "data:/var/www/storage"
|
||||
@@ -12,8 +12,8 @@
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
worker:
|
||||
container_name: {{ pixelfed_worker_name }}
|
||||
image: "{{ pixelfed_image }}:{{ pixelfed_version }}"
|
||||
container_name: {{ PIXELFED_WORKER_CONTAINER }}
|
||||
image: "{{ PIXELFED_IMAGE }}:{{ PIXELFED_VERSION }}"
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
volumes:
|
||||
- "data:/var/www/storage"
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
||||
data:
|
||||
name: {{ pixelfed_volume }}
|
||||
name: {{ PIXELFED_VOLUME }}
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
@@ -2,7 +2,7 @@
|
||||
APP_KEY={{applications | get_app_conf(application_id, 'credentials.app_key', True)}}
|
||||
|
||||
## General Settings
|
||||
APP_NAME="{{ pixelfed_titel }}"
|
||||
APP_NAME="{{ PIXELFED_TITEL }}"
|
||||
APP_ENV={{ ENVIRONMENT | lower }}
|
||||
APP_DEBUG={{MODE_DEBUG | string | lower }}
|
||||
APP_URL={{ domains | get_url(application_id, WEB_PROTOCOL) }}
|
||||
|
@@ -1,9 +1,12 @@
|
||||
# General
|
||||
application_id: "web-app-pixelfed"
|
||||
proxy_extra_configuration: "client_max_body_size 512M;"
|
||||
database_type: "mariadb"
|
||||
pixelfed_version: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.version', True) }}"
|
||||
pixelfed_image: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.image', True) }}"
|
||||
pixelfed_name: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.name', True) }}"
|
||||
pixelfed_worker_name: "{{ applications | get_app_conf(application_id, 'docker.services.worker.name', True) }}"
|
||||
pixelfed_volume: "{{ applications | get_app_conf(application_id, 'docker.volumes.data', True) }}"
|
||||
pixelfed_titel: "{{ applications | get_app_conf(application_id, 'titel', True) }}"
|
||||
|
||||
# Pixelfed
|
||||
PIXELFED_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.version') }}"
|
||||
PIXELFED_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.image') }}"
|
||||
PIXELFED_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.name') }}"
|
||||
PIXELFED_WORKER_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.worker.name') }}"
|
||||
PIXELFED_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.data') }}"
|
||||
PIXELFED_TITEL: "{{ applications | get_app_conf(application_id, 'titel') }}"
|
||||
|
Reference in New Issue
Block a user