Metube auth
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user