Files
computer-playbook/roles/web-app-pixelfed/config/main.yml
Kevin Veen-Birkenbach 0287652774 Improve Pixelfed resource configuration and translate waiting message
- Updated Pixelfed worker and application CPU/RAM limits
- Added Redis memory reservation and limit
- Added pids_limit for worker
- Translated script message from German to English
- Reference: https://chatgpt.com/share/69295cad-0398-800f-9604-953c2f5a833b
2025-11-28 09:26:48 +01:00

52 lines
1.2 KiB
YAML

titel: "Pictures on {{ PRIMARY_DOMAIN }}"
features:
matomo: true
css: false # Needs to be reactivated
desktop: true
central_database: true
oidc: true
logout: true
server:
csp:
flags:
script-src-attr:
unsafe-eval: true
unsafe-inline: true
script-src-elem:
unsafe-inline: true
unsafe-eval: true
style-src-attr:
unsafe-inline: true
whitelist:
frame-ancestors:
- "*"
domains:
canonical:
- "picture.{{ PRIMARY_DOMAIN }}"
aliases: []
docker:
services:
redis:
enabled: true
mem_reservation: 0.1g
mem_limit: 0.2g
database:
enabled: true
pixelfed:
image: "zknt/pixelfed"
version: "latest"
name: "pixelfed"
backup:
no_stop_required: true
cpus: 0.75
mem_reservation: 0.5g
mem_limit: 0.75g
worker:
name: "pixelfed_worker"
cpus: 1.0
mem_reservation: 0.75g
mem_limit: 1g
pids_limit: 512
volumes:
data: "pixelfed_data"