mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 07:38:22 +00:00
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
This commit is contained in:
@@ -130,7 +130,7 @@ if __name__ == "__main__":
|
||||
if has_healthcheck(container):
|
||||
status = get_health_status(container)
|
||||
while status != 'healthy':
|
||||
print(f"Warte auf Container {container}, Status '{status}'...")
|
||||
print(f"Wait for Container {container}, Status '{status}'...")
|
||||
time.sleep(1)
|
||||
status = get_health_status(container)
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ docker:
|
||||
services:
|
||||
redis:
|
||||
enabled: true
|
||||
mem_reservation: 0.1g
|
||||
mem_limit: 0.2g
|
||||
database:
|
||||
enabled: true
|
||||
pixelfed:
|
||||
@@ -36,7 +38,14 @@ docker:
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user