refactor(homelab): migrate homelab services and Traefik domains to roadtotech.me
- Update `DOMAIN` in `hosts/desktop/homeserver.nix` to `roadtotech.me`. - Update `DOMAIN_SUFFIX` and all service subdomains in `hosts/desktop/traefik-deployments.nix` to the new root domain. - Introduce explicit environment variables for dashboard, landing page, and Minecraft subdomains.
This commit is contained in:
1 parent
ecc8a8dedd
commit
d4def26767
2 files changed
+19
-12
No files matched your search
@@ -22,7 +22,7 @@
|
|||||||
sops.templates."homeserver.env" = {
|
sops.templates."homeserver.env" = {
|
||||||
owner = "kiskaadee";
|
owner = "kiskaadee";
|
||||||
content = lib.generators.toKeyValue {} {
|
content = lib.generators.toKeyValue {} {
|
||||||
DOMAIN = "arch-services.mywire.org";
|
DOMAIN = "roadtotech.me";
|
||||||
DOCKER_API_VERSION = "1.40";
|
DOCKER_API_VERSION = "1.40";
|
||||||
DYNU_API_KEY = config.sops.placeholder.dynu_api_key;
|
DYNU_API_KEY = config.sops.placeholder.dynu_api_key;
|
||||||
ACME_EMAIL = config.sops.placeholder.acme_email;
|
ACME_EMAIL = config.sops.placeholder.acme_email;
|
||||||
|
|||||||
@@ -27,25 +27,29 @@
|
|||||||
# --- Core / Infrastructure Settings ---
|
# --- Core / Infrastructure Settings ---
|
||||||
PROXY_NETWORK = "proxy-net";
|
PROXY_NETWORK = "proxy-net";
|
||||||
CERT_RESOLVER = "myresolver";
|
CERT_RESOLVER = "myresolver";
|
||||||
DOMAIN_SUFFIX = "arch-services.mywire.org";
|
DOMAIN_SUFFIX = "roadtotech.me";
|
||||||
|
|
||||||
|
# --- Dashboard & Landing ---
|
||||||
|
DASHBOARD_DOMAIN = "dashboard.roadtotech.me";
|
||||||
|
LANDING_DOMAIN = "roadtotech.me";
|
||||||
|
|
||||||
# --- Docs ---
|
# --- Docs ---
|
||||||
DOCS_DOMAIN = "docs.arch-services.mywire.org";
|
DOCS_DOMAIN = "docs.roadtotech.me";
|
||||||
DOCS_PROJECT_PATH = "/home/kiskaadee/Learn/backend-residency";
|
DOCS_PROJECT_PATH = "/home/kiskaadee/Learn/backend-residency";
|
||||||
|
|
||||||
# --- Excalidraw ---
|
# --- Excalidraw ---
|
||||||
EXCALIDRAW_DOMAIN = "excalidraw.arch-services.mywire.org";
|
EXCALIDRAW_DOMAIN = "excalidraw.roadtotech.me";
|
||||||
|
|
||||||
# --- Gitea ---
|
# --- Gitea ---
|
||||||
GITEA_DOMAIN = "gitea.arch-services.mywire.org";
|
GITEA_DOMAIN = "gitea.roadtotech.me";
|
||||||
GITEA_SSH_DOMAIN = "gitea.arch-services.mywire.org";
|
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
||||||
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
||||||
|
|
||||||
# --- Jellyfin ---
|
# --- Jellyfin ---
|
||||||
JELLYFIN_SERVICE_NAME = "jellyfin";
|
JELLYFIN_SERVICE_NAME = "jellyfin";
|
||||||
JELLYFIN_CONTAINER_NAME = "jellyfin";
|
JELLYFIN_CONTAINER_NAME = "jellyfin";
|
||||||
JELLYFIN_IMAGE_TAG = "latest";
|
JELLYFIN_IMAGE_TAG = "latest";
|
||||||
JELLYFIN_DOMAIN = "jellyfin.arch-services.mywire.org";
|
JELLYFIN_DOMAIN = "jellyfin.roadtotech.me";
|
||||||
JELLYFIN_TZ = "UTC";
|
JELLYFIN_TZ = "UTC";
|
||||||
JELLYFIN_PUID = "1000";
|
JELLYFIN_PUID = "1000";
|
||||||
JELLYFIN_PGID = "1000";
|
JELLYFIN_PGID = "1000";
|
||||||
@@ -57,7 +61,7 @@
|
|||||||
|
|
||||||
# --- Learning Dashboard ---
|
# --- Learning Dashboard ---
|
||||||
LEARNING_SERVICE_NAME = "learning-hub";
|
LEARNING_SERVICE_NAME = "learning-hub";
|
||||||
LEARNING_DOMAIN = "learning.arch-services.mywire.org";
|
LEARNING_DOMAIN = "learning.roadtotech.me";
|
||||||
LEARNING_APP_PORT = "8000";
|
LEARNING_APP_PORT = "8000";
|
||||||
LEARNING_SOCKET_PROXY_NETWORK = "socket-net";
|
LEARNING_SOCKET_PROXY_NETWORK = "socket-net";
|
||||||
LEARNING_DOCKER_HOST = "tcp://socket-proxy:2375";
|
LEARNING_DOCKER_HOST = "tcp://socket-proxy:2375";
|
||||||
@@ -65,22 +69,25 @@
|
|||||||
TURSO_AUTH_TOKEN = config.sops.placeholder.learning_turso_auth_token;
|
TURSO_AUTH_TOKEN = config.sops.placeholder.learning_turso_auth_token;
|
||||||
|
|
||||||
# --- Mermaid ---
|
# --- Mermaid ---
|
||||||
MERMAID_DOMAIN = "mermaid.arch-services.mywire.org";
|
MERMAID_DOMAIN = "mermaid.roadtotech.me";
|
||||||
MERMAID_SERVICE_NAME = "mermaid";
|
MERMAID_SERVICE_NAME = "mermaid";
|
||||||
|
|
||||||
|
# --- Minecraft ---
|
||||||
|
MINECRAFT_DOMAIN = "minecraft.roadtotech.me";
|
||||||
|
|
||||||
# --- MongoDB ---
|
# --- MongoDB ---
|
||||||
MONGO_ROOT_USERNAME = config.sops.placeholder.mongo_root_username;
|
MONGO_ROOT_USERNAME = config.sops.placeholder.mongo_root_username;
|
||||||
MONGO_ROOT_PASSWORD = config.sops.placeholder.mongo_root_password;
|
MONGO_ROOT_PASSWORD = config.sops.placeholder.mongo_root_password;
|
||||||
MONGO_DOMAIN = "mongodb.arch-services.mywire.org";
|
MONGO_DOMAIN = "mongodb.roadtotech.me";
|
||||||
|
|
||||||
# --- PostgreSQL ---
|
# --- PostgreSQL ---
|
||||||
POSTGRES_USER = config.sops.placeholder.postgres_user;
|
POSTGRES_USER = config.sops.placeholder.postgres_user;
|
||||||
POSTGRES_PASSWORD = config.sops.placeholder.postgres_password;
|
POSTGRES_PASSWORD = config.sops.placeholder.postgres_password;
|
||||||
POSTGRES_DB = config.sops.placeholder.postgres_db;
|
POSTGRES_DB = config.sops.placeholder.postgres_db;
|
||||||
POSTGRES_DOMAIN = "pgsql.arch-services.mywire.org";
|
POSTGRES_DOMAIN = "pgsql.roadtotech.me";
|
||||||
|
|
||||||
# --- Ollama ---
|
# --- Ollama ---
|
||||||
OLLAMA_DOMAIN = "ollama.arch-services.mywire.org";
|
OLLAMA_DOMAIN = "ollama.roadtotech.me";
|
||||||
OLLAMA_API_KEY = config.sops.placeholder.ollama_api_key;
|
OLLAMA_API_KEY = config.sops.placeholder.ollama_api_key;
|
||||||
OLLAMA_REPLICAS = "1";
|
OLLAMA_REPLICAS = "1";
|
||||||
OLLAMA_DATA_VOLUME = "ollama_data";
|
OLLAMA_DATA_VOLUME = "ollama_data";
|
||||||
|
|||||||
Reference in new issue
Block a user