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", "id": "pinchflat",
"tipi_version": 1, "tipi_version": 1,
"version": "v0.1.14", "version": "v0.1.14",
"categories": [ "categories": ["media"],
"media"
],
"description": "Your next YouTube media manager", "description": "Your next YouTube media manager",
"short_desc": "Your next YouTube media manager", "short_desc": "Your next YouTube media manager",
"author": "Kieran Eglin", "author": "Kieran Eglin",
@ -17,21 +15,22 @@
"form_fields": [ "form_fields": [
{ {
"type": "string", "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, "max": 50,
"min": 3, "min": 3,
"required": false, "required": false,
"env_variable": "BASIC_AUTH_USERNAME" "env_variable": "PINCHFLAT_BASIC_AUTH_USERNAME"
}, },
{ {
"type": "password", "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, "required": false,
"env_variable": "BASIC_AUTH_PASSWORD" "env_variable": "PINCHFLAT_BASIC_AUTH_PASSWORD"
} }
], ],
"supported_architectures": [ "supported_architectures": ["arm64", "amd64"]
"arm64",
"amd64"
]
} }

View File

@ -1,21 +1,17 @@
version: '3'
services: services:
pinchflat: pinchflat:
image: keglin/pinchflat:v0.1.14 image: keglin/pinchflat:v0.1.14
container_name: pinchflat container_name: pinchflat
environment: environment:
# Setting BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD implies you want to use basic auth. - BASIC_AUTH_USERNAME=${PINCHFLAT_BASIC_AUTH_USERNAME}
# If either is unset, basic auth will not be used. - BASIC_AUTH_PASSWORD=${PINCHFLAT_BASIC_AUTH_PASSWORD}
- BASIC_AUTH_USERNAME=${BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${BASIC_AUTH_PASSWORD}
restart: unless-stopped restart: unless-stopped
ports: ports:
- ${APP_PORT}:8945 - ${APP_PORT}:8945
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data/config:/config - ${APP_DATA_DIR}/data/config:/config
- ${ROOT_FOLDER_HOST}/media/downloads/complete/:/downloads - ${APP_DATA_DIR}/data/downloads:/downloads
networks: networks:
- tipi_main_network - tipi_main_network
labels: labels:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 18 KiB