1
0

chore(deps): update yourls docker tag to v1.10.3 (#3416)

This commit is contained in:
renovate[bot]
2026-01-13 04:30:32 +00:00
committed by GitHub
parent d2875fea23
commit 8ebcab9235
3 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
CONTAINER_NAME="yourls"
DATA_PATH="./data"
PANEL_APP_PORT_HTTP="40037"
PANEL_DB_HOST="mysql"
PANEL_DB_NAME="yourls_PXHwjZ"
PANEL_DB_PREFIX="yourls_"
PANEL_DB_USER="yourls_Ytnm8T"
PANEL_DB_USER_PASSWORD="yourls_yyX7PP"
PASSWORD="yourls_4CWtCw"
USERNAME="yourls_hYC4zp"
YOURLS_DB_PORT="3306"
YOURLS_EXTERNAL_URL="http://localhost:40037"

124
apps/yourls/1.10.3/data.yml Normal file
View File

@@ -0,0 +1,124 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
default: mysql
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
params:
- envKey: YOURLS_DB_PORT
key: mysql
type: param
value: "3306"
- envKey: YOURLS_DB_PORT
key: postgresql
type: param
value: "5432"
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: yourls
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: yourls
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: yourls
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: yourls_
envKey: PANEL_DB_PREFIX
labelEn: Database prefix
labelZh: 数据库前缀
label:
en: Database prefix
zh: 数据库前缀
required: true
type: text
- default: 40037
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
label:
en: Data folder path
zh: 数据文件夹路径
required: true
type: text
- default: yourls
envKey: USERNAME
labelEn: User
labelZh: 用户
label:
en: User
zh: 用户
random: true
required: true
rule: paramCommon
type: text
- default: yourls
envKey: PASSWORD
labelEn: Password
labelZh: 用户密码
label:
en: Password
zh: 用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: http://localhost:40037
edit: true
envKey: YOURLS_EXTERNAL_URL
labelEn: External URL
labelZh: 外部访问地址
label:
en: External URL
zh: 外部访问地址
required: true
type: text

View File

@@ -0,0 +1,26 @@
services:
yourls:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- "${DATA_PATH}:/var/www/html"
environment:
- YOURLS_SITE=${YOURLS_EXTERNAL_URL}
- YOURLS_USER=${USERNAME}
- YOURLS_PASS=${PASSWORD}
- YOURLS_DB_HOST=${PANEL_DB_HOST}:${YOURLS_DB_PORT}
- YOURLS_DB_NAME=${PANEL_DB_NAME}
- YOURLS_DB_USER=${PANEL_DB_USER}
- YOURLS_DB_PASS=${PANEL_DB_USER_PASSWORD}
- YOURLS_DB_PREFIX=${PANEL_DB_PREFIX}
image: yourls:1.10.3
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true