mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
feat: add MediaFetch template (#688)
* feat: add MediaFetch template * Corrected .toml * .toml
This commit is contained in:
18
blueprints/mediafetch/docker-compose.yml
Normal file
18
blueprints/mediafetch/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
mediafetch:
|
||||
image: lukedunsmoto/mediafetch:latest
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "3002"
|
||||
volumes:
|
||||
- mediafetch_data:/data/downloads
|
||||
environment:
|
||||
- PORT=3002
|
||||
- BASIC_AUTH_USER=${BASIC_AUTH_USER}
|
||||
- BASIC_AUTH_PASS=${BASIC_AUTH_PASS}
|
||||
- PUBLIC_BASE_URL=https://${DOMAIN}
|
||||
- OUTPUT_DIR=/data/downloads
|
||||
|
||||
volumes:
|
||||
mediafetch_data:
|
||||
1
blueprints/mediafetch/mediafetch.svg
Normal file
1
blueprints/mediafetch/mediafetch.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 11 KiB |
15
blueprints/mediafetch/template.toml
Normal file
15
blueprints/mediafetch/template.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[variables]
|
||||
BASIC_AUTH_USER = "admin"
|
||||
BASIC_AUTH_PASS = "${password:12}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
name = "Domain"
|
||||
variable = "DOMAIN"
|
||||
serviceName = "mediafetch"
|
||||
port = 3002
|
||||
|
||||
[[config.mounts]]
|
||||
name = "Downloads"
|
||||
filePath = "/data/downloads"
|
||||
content = "mediafetch"
|
||||
17
meta.json
17
meta.json
@@ -3948,6 +3948,23 @@
|
||||
"self-hosted"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "mediafetch",
|
||||
"name": "MediaFetch",
|
||||
"version": "1.1.1",
|
||||
"description": "A tiny, self-hosted web wrapper for yt-dlp to download video and audio. Optional basic auth.",
|
||||
"logo": "mediafetch.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/lukedunsmoto/mediafetch",
|
||||
"website": "https://www.lukedunsmore.com/mediafetch",
|
||||
"docs": "https://docs.lukedunsmore.com/docs/self-hosted/mediafetch/"
|
||||
},
|
||||
"tags": [
|
||||
"utilities",
|
||||
"media",
|
||||
"downloader"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "meilisearch",
|
||||
"name": "Meilisearch",
|
||||
|
||||
Reference in New Issue
Block a user