Files
computer-playbook/roles/svc-db-mariadb/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

16 lines
507 B
YAML

docker:
services:
mariadb:
version: "latest"
image: "mariadb"
name: "mariadb"
backup:
database_routine: true
# Performance Variables aren't used yet, but will be in the future as soon as an docker file is implemented
cpus: "2.0"
mem_reservation: "2g"
mem_limit: "4g"
pids_limit: 1024
network: "mariadb"
volumes:
data: "mariadb_data"