Author SHA1 Message Date
kiskaadee 1814ba9a4a fix(armonia): align data mount, host UID/GID, and API image defaults
- armonia/docker-compose.yml: bind-mount ../../var/lib/homelab/armonia/data:/data instead of ./data:/data to prevent root-owned SQLite DB creation and match nixos-core path rules
- armonia/docker-compose.yml & armonia/.env-example: set default PUID/PGID to 1001/988 (operator:homelab-operators) so armonia-api can write /data/armonia.db
- armonia/docker-compose.yml & armonia/.env-example: update default ARMONIA_API_IMAGE to homelab-armonia-armonia-api:latest
2026-11-19 17:55:56 -05:00
kiskaadee 4117d47ddf fix(jellyfin): point mounts to var/lib/homelab and align PUID/PGID
- Update jellyfin/docker-compose.yml bind mounts from ./{config,cache,media} to ../../var/lib/homelab/jellyfin/{config,cache,media} so SQLite data persists on host-owned state and passes validate_compose_security.
- Align PUID/PGID defaults to 1001:988 (operator:homelab-operators) in jellyfin/docker-compose.yml and jellyfin/.env-example to prevent SQLite readonly database exit 139.
- Align CERT_RESOLVER default in jellyfin/.env-example to myresolver and update jellyfin/README.md volume paths.
2026-11-19 17:54:48 -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
8 changed files with 19 additions and 18 deletions

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
__pycache__/ __pycache__/
**/data/ **/data/
.internal/ .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. 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>`.
--- ---
+3 -3
View File
@@ -3,7 +3,7 @@
DASHBOARD_REPO_URL=https://git.example.com/org/armonia-dashboard.git DASHBOARD_REPO_URL=https://git.example.com/org/armonia-dashboard.git
DASHBOARD_REF=main DASHBOARD_REF=main
# Pre-built container image reference for armonia-api # Pre-built container image reference for armonia-api
ARMONIA_API_IMAGE=armonia-api:latest ARMONIA_API_IMAGE=homelab-armonia-armonia-api:latest
# --- Runtime & Database --- # --- Runtime & Database ---
ENVIRONMENT=production ENVIRONMENT=production
@@ -22,8 +22,8 @@ AUTH_MIDDLEWARE=authelia-auth@docker
HTTPS_REDIRECT_MIDDLEWARE=https-redirect@docker HTTPS_REDIRECT_MIDDLEWARE=https-redirect@docker
# --- User/Group IDs --- # --- User/Group IDs ---
PUID=1000 PUID=1001
PGID=1000 PGID=988
# --- Application Settings --- # --- Application Settings ---
THERAPIST_NAME= THERAPIST_NAME=
+3 -3
View File
@@ -1,11 +1,11 @@
services: services:
armonia-api: armonia-api:
image: ${ARMONIA_API_IMAGE:-armonia-api:latest} image: ${ARMONIA_API_IMAGE:-homelab-armonia-armonia-api:latest}
container_name: ${ARMONIA_API_CONTAINER:-armonia-api} container_name: ${ARMONIA_API_CONTAINER:-armonia-api}
user: "${PUID:-1000}:${PGID:-1000}" user: "${PUID:-1001}:${PGID:-988}"
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./data:/data - ../../var/lib/homelab/armonia/data:/data
environment: environment:
- ENVIRONMENT=${ENVIRONMENT:-production} - ENVIRONMENT=${ENVIRONMENT:-production}
- APP_ENV=${APP_ENV:-production} - APP_ENV=${APP_ENV:-production}
+3 -3
View File
@@ -6,8 +6,8 @@ SERVICE_DOMAIN=jellyfin.example.com
TZ=UTC TZ=UTC
# --- User/Group IDs --- # --- User/Group IDs ---
PUID=1000 PUID=1001
PGID=1000 PGID=988
# --- Path Configuration --- # --- Path Configuration ---
MEDIA_PATH=/path/to/your/media MEDIA_PATH=/path/to/your/media
@@ -16,7 +16,7 @@ MEDIA_PATH=/path/to/your/media
PROXY_NETWORK=proxy-net PROXY_NETWORK=proxy-net
HTTP_ENTRYPOINT=web HTTP_ENTRYPOINT=web
HTTPS_ENTRYPOINT=websecure HTTPS_ENTRYPOINT=websecure
CERT_RESOLVER=letsencrypt CERT_RESOLVER=myresolver
# --- Security & Performance --- # --- Security & Performance ---
RATE_LIMIT_AVG=100 RATE_LIMIT_AVG=100
+3 -3
View File
@@ -19,6 +19,6 @@ Refer to the root [README.md](../README.md) for details on how environment varia
## 📦 Volumes ## 📦 Volumes
- `./config`: Application data and configuration. - `../../var/lib/homelab/jellyfin/config`: Application data and configuration.
- `./cache`: Metadata and transcode cache. - `../../var/lib/homelab/jellyfin/cache`: Metadata and transcode cache.
- `${MEDIA_PATH}`: Media library (mounted read-only). - `../../var/lib/homelab/jellyfin/media`: Media library (mounted read-only).
+4 -4
View File
@@ -2,13 +2,13 @@ services:
jellyfin: jellyfin:
image: jellyfin/jellyfin:${IMAGE_TAG:-latest} image: jellyfin/jellyfin:${IMAGE_TAG:-latest}
container_name: ${CONTAINER_NAME:-jellyfin} container_name: ${CONTAINER_NAME:-jellyfin}
user: "${PUID:-1000}:${PGID:-1000}" user: "${PUID:-1001}:${PGID:-988}"
environment: environment:
- TZ=${TZ:-UTC} - TZ=${TZ:-UTC}
volumes: volumes:
- ./config:/config - ../../var/lib/homelab/jellyfin/config:/config
- ./cache:/cache - ../../var/lib/homelab/jellyfin/cache:/cache
- ./media:/media:ro - ../../var/lib/homelab/jellyfin/media:/media:ro
restart: unless-stopped restart: unless-stopped
networks: networks:
- proxy-net - proxy-net
+1 -1
View File
@@ -4,7 +4,7 @@ services:
container_name: ${CONTAINER_NAME:-snappymail} container_name: ${CONTAINER_NAME:-snappymail}
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./data:/var/lib/snappymail/_data_ - ../../var/lib/homelab/snappymail:/var/lib/snappymail/_data_
networks: networks:
- proxy-net - proxy-net
labels: labels: