Files
computer-playbook/roles/svc-db-postgres/config/main.yml
Kevin Veen-Birkenbach 426ba32c11 feat(services): add CPU/RAM/PIDs defaults for heavy roles and align service names
Add per-service resource overrides (cpus, mem_reservation, mem_limit, pids_limit) for ollama, mariadb, postgres, confluence, gitlab, jira, keycloak, nextcloud; light formatting fixes in wordpress.

Rename service keys from generic 'application/web' to concrete names (jira, confluence, gitlab, keycloak) and update compose templates accordingly.

Jira: introduce JIRA_STORAGE_PATH and switch mounts/README accordingly.

https://chatgpt.com/share/68d2d96c-9bf4-800f-bbec-d4f2c0051c06
2025-09-23 21:43:50 +02:00

18 lines
521 B
YAML

docker:
services:
postgres:
# Postgis is necessary for mobilizon
image: postgis/postgis
name: postgres
# Please set an version in your inventory file!
# Rolling release isn't recommended
version: "latest"
backup:
database_routine: true
cpus: "2.0"
mem_reservation: "4g"
mem_limit: "6g"
pids_limit: 1024
volumes:
data: "postgres_data"
network: "postgres"