fix(pinchflat): various config adjustments

This commit is contained in:
Nicolas Meienberger 2024-05-07 20:49:57 +02:00
parent 7279799c40
commit 3e0ae4eb3e
3 changed files with 15 additions and 20 deletions

View File

@ -7,9 +7,7 @@
"id": "pinchflat",
"tipi_version": 1,
"version": "v0.1.14",
"categories": [
"media"
],
"categories": ["media"],
"description": "Your next YouTube media manager",
"short_desc": "Your next YouTube media manager",
"author": "Kieran Eglin",
@ -17,21 +15,22 @@
"form_fields": [
{
"type": "string",
"label": "Basic Auth Username (optional; if not set, no basic auth is used).",
"hint": "if not set, no basic auth is used",
"label": "Basic Auth Username",
"placeholder": "admin",
"max": 50,
"min": 3,
"required": false,
"env_variable": "BASIC_AUTH_USERNAME"
"env_variable": "PINCHFLAT_BASIC_AUTH_USERNAME"
},
{
"type": "password",
"label": "Basic Auth Password (optional; if not set, no basic auth is used)",
"hint": "if not set, no basic auth is used",
"placeholder": "password1234",
"label": "Basic Auth Password",
"required": false,
"env_variable": "BASIC_AUTH_PASSWORD"
"env_variable": "PINCHFLAT_BASIC_AUTH_PASSWORD"
}
],
"supported_architectures": [
"arm64",
"amd64"
]
}
"supported_architectures": ["arm64", "amd64"]
}

View File

@ -1,21 +1,17 @@
version: '3'
services:
pinchflat:
image: keglin/pinchflat:v0.1.14
container_name: pinchflat
environment:
# Setting BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD implies you want to use basic auth.
# If either is unset, basic auth will not be used.
- BASIC_AUTH_USERNAME=${BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${BASIC_AUTH_PASSWORD}
- BASIC_AUTH_USERNAME=${PINCHFLAT_BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${PINCHFLAT_BASIC_AUTH_PASSWORD}
restart: unless-stopped
ports:
- ${APP_PORT}:8945
volumes:
- /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data/config:/config
- ${ROOT_FOLDER_HOST}/media/downloads/complete/:/downloads
- ${APP_DATA_DIR}/data/downloads:/downloads
networks:
- tipi_main_network
labels:
@ -42,4 +38,4 @@ services:
traefik.http.routers.pinchflat-local.rule: Host(`pinchflat.${LOCAL_DOMAIN}`)
traefik.http.routers.pinchflat-local.entrypoints: websecure
traefik.http.routers.pinchflat-local.service: pinchflat
traefik.http.routers.pinchflat-local.tls: true
traefik.http.routers.pinchflat-local.tls: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 18 KiB