Commit Graph

163 Commits

Author SHA1 Message Date
eef5a0ade3 remove conf from gitignore 2025-11-10 10:23:05 +00:00
1772646148 released to the swarm 2025-11-08 23:45:01 +00:00
21900d13b7 placed rsync on p0 2025-11-08 23:26:28 +00:00
91ab6be16f fixed pinning issue 2025-11-08 16:54:51 +00:00
7cf52364bd pinned to node 2025-11-08 16:53:44 +00:00
58883a5639 update the port 2025-11-08 16:49:04 +00:00
e072b6b2e0 2025-11-08 10:54:48 +00:00
f89f7d18ec Fix MediaCMS static files by removing static volume mounts
- Removed static directory volume mounts from all services
- Static files now stay in container (generated during build)
- Only media_files directory is mounted for persistent storage
- This fixes the white screen issue caused by missing CSS/JS files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 01:04:37 +00:00
798e1ef370 Add MediaCMS stack configuration
- Created stack.yml for MediaCMS deployment
- Configured PostgreSQL, Redis, web, migrations, and Celery workers
- Set up proper volume mounts for media and static files
- Integrated with homelab network for Traefik routing
- Exposed web service on port 8880

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 01:00:53 +00:00
58c4fdc9c5 New Service: MediaCMS 2025-11-08 00:49:12 +00:00
2f3c4ce51b removed uptime service 2025-11-07 02:09:56 +00:00
33b72af6a0 updated readme to match current config 2025-11-07 02:09:41 +00:00
dac81b1220 more more changes 2025-11-07 01:59:13 +00:00
f35fc3831c more changes 2025-11-07 01:57:24 +00:00
9e00080313 Updated swarm deploy config 2025-11-07 01:56:07 +00:00
c5b0c67ca7 Refactor Docker Swarm stack configurations for local deployment
Updated multiple stack files to use local hostnames instead of external domains, simplified Traefik configuration, and reorganized Authentik service location. Changes improve local development setup and reduce complexity.

Key changes:
- Simplified .gitignore to exclude entire conf/ directory
- Updated Traefik labels across services to use .swarm.home domains
- Removed Cloudflare cert resolver references for local TLS
- Moved Authentik from apps/ to core/ directory structure
- Removed Traefik labels from n8n and paperless services
- Updated Traefik stack to use simplified port bindings
- Added timezone environment variable to adminer and outline

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 01:38:48 +00:00
bc67ba5341 Delete conf/traefik-conf/.nfs002e00000006163d00000001 2025-11-06 20:25:24 +00:00
fcf5751b70 updated traefik config 2025-11-06 20:24:42 +00:00
c87db2c40b removed exposed port 2025-11-06 10:43:04 +00:00
c6829ada57 fixed port 2025-11-05 22:56:52 +00:00
73e0a611a7 updated traefik config 2025-11-05 22:54:30 +00:00
89b6ea0b35 updated traefik config 2025-11-05 22:51:00 +00:00
2b9f142b7a updated traefik configurations 2025-11-05 22:47:01 +00:00
a070f44d87 proxy n8n through traefik 2025-11-05 22:36:52 +00:00
2af45d5ef8 removed cli arguments from traefik config in favor of stactic.yml file. added the static.yml to gitignore for privacy 2025-11-05 22:22:57 +00:00
f02c9eaf26 updated mount config 2025-11-05 21:57:17 +00:00
feae85b159 updates 2025-11-05 20:11:08 +00:00
bd6b6e5b0e update file provider 2025-11-05 19:34:52 +00:00
33918e07d4 Disable traefik temporarily 2025-11-05 19:16:17 +00:00
1e5c2a0f19 testing new port 2025-11-04 19:58:51 +00:00
e3b65213c1 addded nginx-pm 2025-11-04 19:47:06 +00:00
94ca2a9be8 rm traefik-local 2025-11-04 19:21:55 +00:00
4ee8b16b8b updated portainer 2025-11-04 17:23:36 +00:00
d8b3b2edc9 Updated traefik labels 2025-11-04 17:23:23 +00:00
8e3867b4c3 added service adguard 2025-11-04 16:21:14 +00:00
2b62dfe96a Removed service 2025-11-04 13:18:53 +00:00
7de1d40a51 Removed Service 2025-11-04 13:18:51 +00:00
ac647ed02a Move Paperless to local Traefik with HTTPS
- Remove port 8011 binding, route through Traefik instead
- Add Traefik labels for docs.home.frostlabs.me
- Update Paperless URLs to use HTTPS with local domain
- Configure allowed hosts and CSRF trusted origins

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 02:48:08 +00:00
dfd5295d88 Fix remaining volume mount paths in stack configs
- Update Vikunja config path to remove swarm-production subdirectory
- Fix rsync source path to backup appdata instead of backups directory
- Update rsync excludes path to correct location in projects directory

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 22:57:48 +00:00
ffb307a1eb Updated paths again 2025-11-03 22:27:40 +00:00
795cdd8a05 Updated mounts using new paths 2025-11-03 22:26:07 +00:00
a1af5b4c9b Update paths and configurations for swarm infrastructure
- Update all volume paths from /home/doc/swarm-data to /home/doc/projects/swarm-data
- Add Traefik local entrypoint on port 8443 with host mode networking
- Add Adminer local route with Traefik labels
- Configure Vikunja OIDC integration with Authentik
- Add Outline stack configuration
- Add traefik-local stack for local network routing
- Update .gitignore with backup files and dynamic configs

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 22:12:17 +00:00
b6ae643c39 2025-11-02 19:20:04 +00:00
b4f17e5d76 2025-11-02 19:19:51 +00:00
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
8eb3106777 Add Authentik SSO service with fixed service dependencies
Adds new Authentik (v2025.10.0) authentication/SSO stack with:
- Redis cache service
- Authentik server (exposed at auth.frostlabs.me via Traefik)
- Authentik worker for background tasks
- Fixed depends_on references to use correct service name (redis)
- External PostgreSQL backend at 10.0.4.10
- Docker secrets integration for sensitive credentials

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 16:51:47 +00:00
ffd76f7fa8 Update rsync destination volume path in stack.yml 2025-10-28 22:16:41 +00:00
e5513e9358 Remove FreeFileSync and nginx service configurations from stack.yml 2025-10-28 00:39:50 +00:00
717d3a87d0 Reduce tracker-nginx replicas from 3 to 1 for optimized resource usage 2025-10-28 00:39:40 +00:00