Commit Graph

8 Commits

Author SHA1 Message Date
b62b890482 Add healthchecks and resource constraints to all services
Added healthchecks:
- adminer: PHP file_get_contents check
- authentik_server: ak healthcheck command
- authentik_redis: redis-cli ping
- paperless_redis: redis-cli ping
- paperless_webserver: curl localhost:8000
- n8n: wget healthz endpoint
- traefik: wget ping endpoint (with --ping enabled)
- tracker-nginx: curl localhost:80

Added resource limits:
- adminer: 512M limit, 128M reservation
- authentik_server: 1G/1 CPU limit, 512M reservation
- authentik_worker: 1G/1 CPU limit, 512M reservation
- authentik_redis: 512M limit, 128M reservation
- paperless_redis: 512M limit, 128M reservation
- paperless_webserver: 2G/2 CPU limit, 1G reservation
- traefik: 512M/0.5 CPU limit, 256M reservation
- tracker-nginx: 256M limit, 64M reservation

All services now have proper health monitoring and resource constraints
to prevent resource exhaustion and improve reliability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 09:08:49 +00:00
dde99083fb Rebalance swarm: promote all nodes to managers and remove hostname constraints
- Promoted p1, p2, p3 from worker to manager nodes for 4-node quorum
- Removed unnecessary hostname constraints from service configs
- Only traefik and portainer remain pinned to p0
- Services now auto-balance across all nodes via GlusterFS shared storage
- Updated README with cluster overview and distribution strategy

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 08:52:38 +00:00
51a7aae379 Refactor environment variables in stack.yml: removed http:// from DBHOST and eliminated postgres dependency 2025-10-27 21:46:31 +00:00
3ddbe69470 trying to fix mnt permissions 2025-10-27 16:57:07 +00:00
cc1c8b298b ♻️ updated mounts 2025-10-27 00:22:28 +00:00
592e618e9c New Service: Paperless-NGX
All checks were successful
Deploy to Swarm / deploy (push) Successful in 3s
2025-10-25 13:07:22 -04:00
5e6489b67d
Some checks failed
Deploy to Swarm / deploy (push) Failing after 2s
2025-10-25 12:34:39 -04:00
8f9bd5ec8d New Services:
Some checks failed
Deploy to Swarm / deploy (push) Failing after 3s
2025-10-25 12:33:03 -04:00