chore(deps): update gotson/komga docker tag to v1.24.1 (#3756)
This commit is contained in:
23
apps/komga/1.24.1/data.yml
Normal file
23
apps/komga/1.24.1/data.yml
Normal 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
|
||||
21
apps/komga/1.24.1/docker-compose.yml
Normal file
21
apps/komga/1.24.1/docker-compose.yml
Normal 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
|
||||
19
apps/komga/1.24.1/scripts/init.sh
Normal file
19
apps/komga/1.24.1/scripts/init.sh
Normal 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
|
||||
13
apps/komga/1.24.1/scripts/upgrade.sh
Normal file
13
apps/komga/1.24.1/scripts/upgrade.sh
Normal 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
|
||||
Reference in New Issue
Block a user