1
0

chore(deps): update gotson/komga docker tag to v1.24.1 (#3756)

This commit is contained in:
renovate[bot]
2026-01-30 03:09:04 +00:00
committed by GitHub
parent 43ed0a2a51
commit b536fa3bc2
4 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
additionalProperties:
formFields:
- default: "./data"
edit: true
envKey: KOMGA_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
label:
en: Data persistence path
zh: 数据持久化路径
required: true
type: text
- default: 25600
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
label:
en: WebUI port
zh: WebUI 端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,21 @@
networks:
1panel-network:
external: true
services:
komga:
image: gotson/komga:1.24.1
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
user: 1000:1000
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:25600
volumes:
- ${KOMGA_ROOT_PATH}/config:/config
- ${KOMGA_ROOT_PATH}/data:/data
environment:
- TZ=Asia/Shanghai

View File

@@ -0,0 +1,19 @@
#!/bin/bash
if [ -f .env ]; then
source .env
mkdir -p "$KOMGA_ROOT_PATH"
mkdir -p "$KOMGA_ROOT_PATH/config"
mkdir -p "$KOMGA_ROOT_PATH/data"
chown -R 1000:1000 "$KOMGA_ROOT_PATH"
chown -R 1000:1000 "$KOMGA_ROOT_PATH/config"
chown -R 1000:1000 "$KOMGA_ROOT_PATH/data"
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ -f .env ]; then
source .env
mkdir -p "$KOMGA_ROOT_PATH"
chown -R 1000:1000 "$KOMGA_ROOT_PATH"
echo "Check Finish."
else
echo "Error: .env file not found."
fi