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