Metube auth

This commit is contained in:
2025-11-14 03:04:18 +01:00
parent 962bf7d359
commit 28e2de85e8
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ services:
- DELETE_FILE_ON_TRASHCAN=true
- DEFAULT_OPTION_PLAYLIST_STRICT_MODE=true
volumes:
- /home/forust/Downloads/MeTube:/downloads
- ./volumes/MeTube_downloads:/downloads
labels:
- traefik.enable=true
networks:
+9 -1
View File
@@ -11,7 +11,7 @@ http:
- security-headers
tls: {}
# certResolver: letsencrypt
# MeTube
metube:
rule: "Host(`metube.forust.xyz`)"
@@ -19,6 +19,7 @@ http:
- websecure
service: metube
middlewares:
- metube-auth
- security-headers
tls:
certResolver: letsencrypt
@@ -194,6 +195,13 @@ http:
scheme: https
permanent: true
# Metube Basic Auth
metube-auth:
basicAuth:
users:
- "vv:$2y$05$oO.mQXBZSJq7aDRJF1iorudafu9HsrJCEfKb6Cev8UlzWOF8kzlY6"
realm: "MeTube Access"
# Basic Auth для Traefik Dashboard
auth:
basicAuth: