Author SHA1 Message Date
kiskaadee 9ff2a4c714 fix(gitea): add robots.txt and attach public-ratelimit Traefik middleware
- gitea/robots.txt: disallow crawler traps on /*/*/pulls, issues, commits, archive, graph, forks, stars, watchers, activity, and /explore

- gitea/docker-compose.yml: mount ./robots.txt read-only into /data/gitea/public/robots.txt and attach public-ratelimit@docker middleware
2026-11-23 16:25:02 -05:00
kiskaadee f0b2acfda8 chore(workloads): ignore .venv symlink in .gitignore 2026-11-19 17:46:33 -05:00
kiskaadee e8033baf9f docs(workloads): clarify deployment aliases in README and gitignore .venv
- Remove 'legacy webhook' phrasing from README.md deployments.yaml description
- Add .venv/ to .gitignore
2026-11-19 17:46:08 -05:00
kiskaadee 2a33cb2aa8 Merge pull request 'feat(snappymail): mount persistent state under homelab state root' (#9) from feat/snappymail-cutover into main 2026-11-19 22:04:02 +00:00
kiskaadee 8da3e16f21 feat(snappymail): mount persistent state under homelab state root
- Update snappymail/docker-compose.yml volume mount from ./data to ../../var/lib/homelab/snappymail so state resolves cleanly under appctl_router.py without HOME or ${...} interpolation.
2026-11-19 15:47:36 -05:00
kiskaadee 60aa540797 Merge pull request 'feat(gitea,gitea_runner): configure persistent state mounts and host-mode Nix runner' (#8) from feat/gitea-cutover into main 2026-11-19 09:29:21 -05:00
kiskaadee 75f2149275 fix(gitea_runner): pin act_runner 0.6.1 and wrap entrypoint with tini 2026-11-19 00:18:13 -05:00
6 changed files with 18 additions and 4 deletions

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
__pycache__/
**/data/
.internal/
.venv
+1 -1
View File
@@ -8,7 +8,7 @@ This repository contains the decoupled, portable application stacks managed by t
Each workload lives in its own top-level directory with a declarative `app.yaml` manifest (`schemaVersion: "1.0"`) and a `docker-compose.yml` baseline. Workloads attach to the shared external Docker network (`proxy-net`) and expose Traefik routing labels parameterized via runtime environment variables.
The root [`deployments.yaml`](deployments.yaml) serves as the authoritative workload admission registry, mapping each workload identity and its legacy webhook aliases to `~/Workloads/<app>`.
The root [`deployments.yaml`](deployments.yaml) serves as the authoritative workload admission registry, mapping each workload identity and its aliases to `~/Workloads/<app>`.
---
+2
View File
@@ -19,6 +19,7 @@ services:
- "${SSH_PORT:-2223}:22"
volumes:
- ../../var/lib/homelab/gitea:/data
- ./robots.txt:/data/gitea/public/robots.txt:ro
networks:
- proxy-net
labels:
@@ -28,6 +29,7 @@ services:
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.entrypoints=${HTTPS_ENTRYPOINT:-websecure}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.tls=true"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.tls.certresolver=${CERT_RESOLVER:-myresolver}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.middlewares=${RATE_LIMIT_MIDDLEWARE:-public-ratelimit@docker}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.service=${CONTAINER_NAME:-gitea}-svc"
# HTTP to HTTPS Redirect Router
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.rule=Host(`${SERVICE_DOMAIN}`)"
+11
View File
@@ -0,0 +1,11 @@
User-agent: *
Disallow: /*/*/pulls
Disallow: /*/*/issues
Disallow: /*/*/commits
Disallow: /*/*/archive
Disallow: /*/*/graph
Disallow: /*/*/forks
Disallow: /*/*/stars
Disallow: /*/*/watchers
Disallow: /*/*/activity
Disallow: /explore
+2 -2
View File
@@ -1,7 +1,7 @@
FROM nixos/nix:2.24.12 AS nix-src
RUN tar -czf /nix-seed.tar.gz -C /nix .
FROM gitea/act_runner:latest
FROM gitea/act_runner:0.6.1
RUN apk add --no-cache nodejs npm bash git coreutils ca-certificates
@@ -20,4 +20,4 @@ RUN chmod +x /usr/local/bin/entrypoint-nix.sh
ENV PATH="/usr/local/bin:/nix/var/nix/profiles/default/bin:/usr/bin:/bin"
ENTRYPOINT ["/usr/local/bin/entrypoint-nix.sh"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/entrypoint-nix.sh"]
+1 -1
View File
@@ -4,7 +4,7 @@ services:
container_name: ${CONTAINER_NAME:-snappymail}
restart: unless-stopped
volumes:
- ./data:/var/lib/snappymail/_data_
- ../../var/lib/homelab/snappymail:/var/lib/snappymail/_data_
networks:
- proxy-net
labels: