Disable traefik temporarily

This commit is contained in:
2025-11-05 19:16:17 +00:00
parent 1e5c2a0f19
commit 33918e07d4
8 changed files with 191 additions and 152 deletions

View File

@@ -4,12 +4,12 @@ services:
networks:
- homelab
ports:
- "8091:8080"
- "8091:8080"
environment:
- ADMINER_DEFAULT_SERVER=10.0.4.10
- ADMINER_DESIGN=nette
healthcheck:
test: ["CMD", "php", "-r", "if (file_get_contents('http://localhost:8080')) exit(0); exit(1);"]
test: [ "CMD", "php", "-r", "if (file_get_contents('http://localhost:8080')) exit(0); exit(1);" ]
interval: 30s
timeout: 10s
retries: 3
@@ -21,13 +21,14 @@ services:
memory: 512M
reservations:
memory: 128M
# labels: # Local route
# - "traefik.enable=true"
# - "traefik.http.routers.adminer.rule=Host(`adminer.frostlabs.me`)"
# - "traefik.http.routers.adminer.entrypoints=websecure"
# - "traefik.http.routers.adminer.tls.certresolver=cloudflare"
# - "traefik.http.services.adminer.loadbalancer.server.port=8080"
# - "traefik.swarm.network=homelab"
labels:
# Local route
- traefik.enable=false
- traefik.http.routers.adminer.rule=Host(`adminer.frostlabs.me`)
- traefik.http.routers.adminer.entrypoints=websecure
- traefik.http.routers.adminer.tls.certresolver=cloudflare
- traefik.http.services.adminer.loadbalancer.server.port=8080
- traefik.swarm.network=homelab
networks:
homelab:
external: true

View File

@@ -9,7 +9,7 @@ services:
networks:
- homelab
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [ "CMD", "redis-cli", "ping" ]
interval: 30s
timeout: 5s
retries: 3
@@ -45,7 +45,7 @@ services:
networks:
- homelab
healthcheck:
test: ["CMD-SHELL", "ak healthcheck"]
test: [ "CMD-SHELL", "ak healthcheck" ]
interval: 30s
timeout: 10s
retries: 3
@@ -59,12 +59,12 @@ services:
reservations:
memory: 512M
labels:
- "traefik.enable=true"
- "traefik.http.routers.authentik.rule=Host(`auth.frostlabs.me`)"
- "traefik.http.routers.authentik.entrypoints=websecure"
- "traefik.http.routers.authentik.tls.certresolver=cloudflare"
- "traefik.http.services.authentik.loadbalancer.server.port=9000"
- "traefik.swarm.network=homelab"
- "traefik.enable=false"
- "traefik.http.routers.authentik.rule=Host(`auth.frostlabs.me`)"
- "traefik.http.routers.authentik.entrypoints=websecure"
- "traefik.http.routers.authentik.tls.certresolver=cloudflare"
- "traefik.http.services.authentik.loadbalancer.server.port=9000"
- "traefik.swarm.network=homelab"
depends_on:
- redis

View File

@@ -9,35 +9,35 @@ services:
outline:
image: outlinewiki/outline:latest
environment:
- PGSSLMODE=disable
- SECRET_KEY=2821b95392ba4ead8acb1882653eb217545ee267099608dee92ecde2cf9a7323
- UTILS_SECRET=cd5dab7c54b92603ba44bcab8a49e5a0f816b11a5b75ef25fe73ebb13633cae4
- DATABASE_URL=postgres://admin:AllOfTheStars%2B1@10.0.4.10:5432/outline
- REDIS_URL=redis://redis:6379
- URL=https://flow.frostlabs.me
- PORT=3000
- FILE_STORAGE=local
- FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
- FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
# OIDC/SSO Configuration for Authentik
- OIDC_CLIENT_ID=9zCd8wzJFBv3oRYmdJXKWVokI0P3dx0HhuJB2yST
- OIDC_CLIENT_SECRET=fQpA7KFeDO2x8HKcQ5lOKFvB4HqyXcUvwUpow20bIOUBEZqoZ5hekkYS2kJ7BR2XayrOevq1sd4cC7Nw3mO1xz2jFXw0CiuhfNQTdMF35Zz2IXKbsNvVHU0Z1hYFjhlG
- OIDC_AUTH_URI=https://auth.frostlabs.me/application/o/authorize/
- OIDC_TOKEN_URI=https://auth.frostlabs.me/application/o/token/
- OIDC_USERINFO_URI=https://auth.frostlabs.me/application/o/userinfo/
- OIDC_LOGOUT_URI=https://auth.frostlabs.me/application/o/outline/end-session/
- OIDC_USERNAME_CLAIM=preferred_username
- OIDC_DISPLAY_NAME=Authentik
- OIDC_SCOPES=openid profile email
- PGSSLMODE=disable
- SECRET_KEY=2821b95392ba4ead8acb1882653eb217545ee267099608dee92ecde2cf9a7323
- UTILS_SECRET=cd5dab7c54b92603ba44bcab8a49e5a0f816b11a5b75ef25fe73ebb13633cae4
- DATABASE_URL=postgres://admin:AllOfTheStars%2B1@10.0.4.10:5432/outline
- REDIS_URL=redis://redis:6379
- URL=https://flow.frostlabs.me
- PORT=3000
- FILE_STORAGE=local
- FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
- FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
# OIDC/SSO Configuration for Authentik
- OIDC_CLIENT_ID=9zCd8wzJFBv3oRYmdJXKWVokI0P3dx0HhuJB2yST
- OIDC_CLIENT_SECRET=fQpA7KFeDO2x8HKcQ5lOKFvB4HqyXcUvwUpow20bIOUBEZqoZ5hekkYS2kJ7BR2XayrOevq1sd4cC7Nw3mO1xz2jFXw0CiuhfNQTdMF35Zz2IXKbsNvVHU0Z1hYFjhlG
- OIDC_AUTH_URI=https://auth.frostlabs.me/application/o/authorize/
- OIDC_TOKEN_URI=https://auth.frostlabs.me/application/o/token/
- OIDC_USERINFO_URI=https://auth.frostlabs.me/application/o/userinfo/
- OIDC_LOGOUT_URI=https://auth.frostlabs.me/application/o/outline/end-session/
- OIDC_USERNAME_CLAIM=preferred_username
- OIDC_DISPLAY_NAME=Authentik
- OIDC_SCOPES=openid profile email
volumes:
- /home/doc/projects/swarm-data/appdata/outline/data:/var/lib/outline/data
- /home/doc/projects/swarm-data/appdata/outline/data:/var/lib/outline/data
networks:
- homelab
- homelab
deploy:
replicas: 1
placement:
constraints:
- node.hostname == p0
- node.hostname == p0
restart_policy:
condition: any
# resources:
@@ -47,15 +47,15 @@ services:
# reservations:
# memory: 512M
labels:
- "traefik.enable=true"
- "traefik.docker.network=homelab"
- "traefik.http.routers.outline.rule=Host(`flow.frostlabs.me`)"
- "traefik.http.routers.outline.entrypoints=websecure"
- "traefik.http.routers.outline.tls=true"
- "traefik.http.routers.outline.tls.certresolver=cloudflare"
- "traefik.http.services.outline.loadbalancer.server.port=3000"
- "traefik.enable=falso"
- "traefik.docker.network=homelab"
- "traefik.http.routers.outline.rule=Host(`flow.frostlabs.me`)"
- "traefik.http.routers.outline.entrypoints=websecure"
- "traefik.http.routers.outline.tls=true"
- "traefik.http.routers.outline.tls.certresolver=cloudflare"
- "traefik.http.services.outline.loadbalancer.server.port=3000"
depends_on:
- redis
- redis
# postgres:
# image: postgres:16-alpine
@@ -91,14 +91,14 @@ services:
redis:
image: redis:7-alpine
volumes:
- /home/doc/projects/swarm-data/appdata/outline/redis:/data
- /home/doc/projects/swarm-data/appdata/outline/redis:/data
networks:
- homelab
- homelab
deploy:
replicas: 1
placement:
constraints:
- node.hostname == p0
- node.hostname == p0
# restart_policy:
# condition: on-failure
# delay: 5s

View File

@@ -4,7 +4,7 @@ services:
networks:
- homelab
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [ "CMD", "redis-cli", "ping" ]
interval: 30s
timeout: 5s
retries: 3
@@ -30,7 +30,7 @@ services:
- paperless-admin-pass
environment:
- PAPERLESS_DBPASS_FILE=/run/secrets/postgres-master
- PAPERLESS_SECRET_KEY_FILE=/run/secrets/paperless-secret-key
- PAPERLESS_SECRET_KEY_FILE=/run/secrets/paperless-secret-key
- PAPERLESS_ADMIN_PASSWORD_FILE=/run/secrets/paperless-admin-pass
# - PAPERLESS_URLS=https://docs.frostlabs.me
# - PAPERLESS_ALLOWED_HOSTS=docs.frostlabs.me,docs.frostlabs.home
@@ -39,7 +39,7 @@ services:
- PAPERLESS_ALLOWED_HOSTS=docs.home.frostlabs.me
- PAPERLESS_CSRF_TRUSTED_ORIGINS=https://docs.home.frostlabs.me
- PAPERLESS_REDIS=redis://paperless_redis:6379
- PAPERLESS_DBHOST=10.0.4.10 # Fixed: removed http://
- PAPERLESS_DBHOST=10.0.4.10
- PAPERLESS_DBPORT=5432
- PAPERLESS_DBNAME=paperless
- PAPERLESS_DBUSER=admin
@@ -56,7 +56,7 @@ services:
networks:
- homelab
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
test: [ "CMD", "curl", "-f", "http://localhost:8000" ]
interval: 30s
timeout: 10s
retries: 3
@@ -70,14 +70,14 @@ services:
reservations:
memory: 1G
labels:
- "traefik.enable=true"
- "traefik.enable=false"
- "traefik.swarm.network=homelab"
- "traefik.http.routers.paperless.rule=Host(`docs.home.frostlabs.me`)"
- "traefik.http.routers.paperless.entrypoints=websecure"
- "traefik.http.routers.paperless.tls=true"
- "traefik.http.routers.paperless.service=paperless"
- "traefik.http.services.paperless.loadbalancer.server.port=8000"
depends_on: # Fixed: removed postgres dependency
depends_on:
- paperless_redis
networks:
@@ -90,4 +90,4 @@ secrets:
paperless-secret-key:
external: true
postgres-master:
external: true
external: true

View File

@@ -2,13 +2,13 @@ services:
uptime-kuma:
image: louislam/uptime-kuma:1.23.16
volumes:
- /home/doc/projects/swarm-data/appdata/uptime:/app/data
- /home/doc/projects/swarm-data/appdata/uptime:/app/data
environment:
- TZ=America/New_York
- TZ=America/New_York
networks:
- homelab
- homelab
healthcheck:
test: ["CMD", "node", "/app/extra/healthcheck.js"]
test: [ "CMD", "node", "/app/extra/healthcheck.js" ]
interval: 30s
timeout: 10s
retries: 3
@@ -28,13 +28,13 @@ services:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.routers.uptime-kuma.rule=Host(`status.frostlabs.me`)"
- "traefik.http.routers.uptime-kuma.entrypoints=websecure"
- "traefik.http.routers.uptime-kuma.tls.certresolver=cloudflare"
- "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001"
- "traefik.docker.network=homelab"
- "traefik.enable=false"
- "traefik.http.routers.uptime-kuma.rule=Host(`status.frostlabs.me`)"
- "traefik.http.routers.uptime-kuma.entrypoints=websecure"
- "traefik.http.routers.uptime-kuma.tls.certresolver=cloudflare"
- "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001"
- "traefik.docker.network=homelab"
networks:
homelab:
external: true
external: true