Switch to dockhand envs

This commit is contained in:
2026-02-23 21:37:15 +01:00
parent ce25bc3027
commit 4c7ca43d05
10 changed files with 8 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
AUTHENTIK_DOMAIN=auth.ulfrx.dev
PG_DB=authentik
PG_USER=authentikx

View File

@@ -3,8 +3,6 @@ services:
image: postgres@sha256:035b9ab53cfa147d7202b61f5f7782b939ae815b7d6bc81c96b7b42ff1fca950 image: postgres@sha256:035b9ab53cfa147d7202b61f5f7782b939ae815b7d6bc81c96b7b42ff1fca950
container_name: authentik-db container_name: authentik-db
restart: unless-stopped restart: unless-stopped
env_file:
- .env
environment: environment:
POSTGRES_DB: ${PG_DB} POSTGRES_DB: ${PG_DB}
POSTGRES_USER: ${PG_USER} POSTGRES_USER: ${PG_USER}

View File

@@ -1 +0,0 @@
DOCKHAND_DOMAIN=dockhand.ulfrx.dev

View File

@@ -3,8 +3,6 @@ services:
image: fnsys/dockhand@sha256:546e7ab26146a64fe93f5f421d3f73914f495a84bfdb87bc3ff3a199388f44a2 image: fnsys/dockhand@sha256:546e7ab26146a64fe93f5f421d3f73914f495a84bfdb87bc3ff3a199388f44a2
container_name: dockhand container_name: dockhand
restart: unless-stopped restart: unless-stopped
env_file:
- .env
environment: environment:
- ENCRYPTION_KEY_PATH=/run/secrets/encryption_key - ENCRYPTION_KEY_PATH=/run/secrets/encryption_key
- DISABLE_LOCAL_LOGIN=true - DISABLE_LOCAL_LOGIN=true

View File

@@ -1 +0,0 @@
GITEA_DOMAIN=git.ulfrx.dev

View File

@@ -6,8 +6,6 @@ services:
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy
env_file:
- .env
environment: environment:
- GITEA__database__DB_TYPE=postgres - GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432 - GITEA__database__HOST=db:5432

View File

@@ -1 +0,0 @@
HOMEPAGE_DOMAIN=ulfrx.dev

View File

@@ -3,8 +3,6 @@ services:
image: ghcr.io/gethomepage/homepage:v1.10.1@sha256:4815be05c8abf3503272b7ff1ac40c5f7364602a1ed807b0fc5a4cf69df0b15b image: ghcr.io/gethomepage/homepage:v1.10.1@sha256:4815be05c8abf3503272b7ff1ac40c5f7364602a1ed807b0fc5a4cf69df0b15b
container_name: homepage container_name: homepage
restart: unless-stopped restart: unless-stopped
env_file:
- .env
environment: environment:
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_DOMAIN} - HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_DOMAIN}
networks: networks:

View File

@@ -1 +0,0 @@
ACME_EMAIL=magnate-wayward6k@icloud.com

View File

@@ -1,17 +1,19 @@
services: services:
tunnel: tunnel:
image: cloudflare/cloudflared:2026.2.0@sha256:09b8ae19c02e44c075361a64094e6216421672705647b0e8d4ce8d1d8feea7ac image: cloudflare/cloudflared:2026.2.0@sha256:09b8ae19c02e44c075361a64094e6216421672705647b0e8d4ce8d1d8feea7ac
container_name: tunnel
restart: unless-stopped restart: unless-stopped
command: tunnel --no-autoupdate run command: tunnel --no-autoupdate run
environment: environment:
- TUNNEL_TOKEN_FILE=/run/secrets/tunnel_token - TUNNEL_TOKEN_FILE=/run/secrets/tunnel_token
networks: networks:
- homelab_proxy - proxy
secrets: secrets:
- tunnel_token - tunnel_token
traefik: traefik:
image: traefik:v3.6.8@sha256:daf5df7f7b96cd34a1a499a275cb93c8dbc4ce58d49f98911e0583ba41cc4351 image: traefik:v3.6.8@sha256:daf5df7f7b96cd34a1a499a275cb93c8dbc4ce58d49f98911e0583ba41cc4351
container_name: traefik
restart: unless-stopped restart: unless-stopped
command: command:
- --providers.docker=true - --providers.docker=true
@@ -23,15 +25,13 @@ services:
- --certificatesresolvers.le.acme.storage=/letsencrypt/acme.json - --certificatesresolvers.le.acme.storage=/letsencrypt/acme.json
- --certificatesresolvers.le.acme.dnschallenge=true - --certificatesresolvers.le.acme.dnschallenge=true
- --certificatesresolvers.le.acme.dnschallenge.provider=cloudflare - --certificatesresolvers.le.acme.dnschallenge.provider=cloudflare
env_file:
- .env
environment: environment:
- CF_DNS_API_TOKEN_FILE=/run/secrets/cf_api_token - CF_DNS_API_TOKEN_FILE=/run/secrets/cf_api_token
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- letsencrypt:/letsencrypt - letsencrypt:/letsencrypt
networks: networks:
- homelab_proxy - proxy
- homelab_apps - homelab_apps
secrets: secrets:
- cf_api_token - cf_api_token
@@ -41,13 +41,13 @@ volumes:
driver: local driver: local
networks: networks:
homelab_proxy: proxy:
external: true internal: true
homelab_apps: homelab_apps:
external: true external: true
secrets: secrets:
tunnel_token: tunnel_token:
file: ./secrets/tunnel_token.txt file: /opt/stacks/proxy/secrets/tunnel_token.txt
cf_api_token: cf_api_token:
file: ./secrets/cf_api_token.txt file: /opt/stacks/proxy/secrets/cf_api_token.txt