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 - DELETE_FILE_ON_TRASHCAN=true
- DEFAULT_OPTION_PLAYLIST_STRICT_MODE=true - DEFAULT_OPTION_PLAYLIST_STRICT_MODE=true
volumes: volumes:
- /home/forust/Downloads/MeTube:/downloads - ./volumes/MeTube_downloads:/downloads
labels: labels:
- traefik.enable=true - traefik.enable=true
networks: networks:
+8
View File
@@ -19,6 +19,7 @@ http:
- websecure - websecure
service: metube service: metube
middlewares: middlewares:
- metube-auth
- security-headers - security-headers
tls: tls:
certResolver: letsencrypt certResolver: letsencrypt
@@ -194,6 +195,13 @@ http:
scheme: https scheme: https
permanent: true permanent: true
# Metube Basic Auth
metube-auth:
basicAuth:
users:
- "vv:$2y$05$oO.mQXBZSJq7aDRJF1iorudafu9HsrJCEfKb6Cev8UlzWOF8kzlY6"
realm: "MeTube Access"
# Basic Auth для Traefik Dashboard # Basic Auth для Traefik Dashboard
auth: auth:
basicAuth: basicAuth: