mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-18 19:07:13 +08:00
feat: update blinko 1.8.4
This commit is contained in:
11
apps/blinko/1.8.4/.env.sample
Normal file
11
apps/blinko/1.8.4/.env.sample
Normal file
@@ -0,0 +1,11 @@
|
||||
CONTAINER_NAME="blinko"
|
||||
NEXTAUTH_SECRET="my_ultra_secure_nextauth_secret"
|
||||
NEXTAUTH_URL="http://1.2.3.4:1111"
|
||||
NEXT_PUBLIC_BASE_URL="http://1.2.3.4:1111"
|
||||
PANEL_APP_PORT_HTTP=1111
|
||||
PANEL_DB_HOST="postgresql"
|
||||
PANEL_DB_HOST_NAME="postgresql"
|
||||
PANEL_DB_NAME="blinko"
|
||||
PANEL_DB_PORT=5432
|
||||
PANEL_DB_USER="blinko"
|
||||
PANEL_DB_USER_PASSWORD="blinko"
|
||||
69
apps/blinko/1.8.4/data.yml
Normal file
69
apps/blinko/1.8.4/data.yml
Normal file
@@ -0,0 +1,69 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "1111"
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "http://1.2.3.4:1111"
|
||||
envKey: NEXTAUTH_URL
|
||||
labelEn: NextAuth URL
|
||||
labelZh: 基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "http://1.2.3.4:1111"
|
||||
envKey: NEXT_PUBLIC_BASE_URL
|
||||
labelEn: Next Public Base URL
|
||||
labelZh: 公共基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "my_ultra_secure_nextauth_secret"
|
||||
envKey: NEXTAUTH_SECRET
|
||||
labelEn: NextAuth Secret
|
||||
labelZh: NextAuth 密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "1.2.3.4"
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: PostgreSQL Database Service
|
||||
labelZh: PostgreSQL 数据库服务
|
||||
required: true
|
||||
type: text
|
||||
- default: "5432"
|
||||
edit: true
|
||||
envKey: PANEL_DB_PORT
|
||||
labelEn: Database Port Number
|
||||
labelZh: 数据库端口号
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "blinko"
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
53
apps/blinko/1.8.4/docker-compose.yml
Normal file
53
apps/blinko/1.8.4/docker-compose.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
services:
|
||||
blinko:
|
||||
image: blinkospace/blinko:1.8.4
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
volumes:
|
||||
- ./data:/app/.blinko
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:1111
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- -f
|
||||
- http://localhost:1111/
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
createdBy: Apps
|
||||
postgres:
|
||||
image: postgres:14
|
||||
container_name: ${CONTAINER_NAME}-postgres
|
||||
restart: always
|
||||
ports:
|
||||
- ${PANEL_DB_PORT}:5432
|
||||
environment:
|
||||
POSTGRES_DB: ${PANEL_DB_NAME}
|
||||
POSTGRES_USER: ${PANEL_DB_USER}
|
||||
POSTGRES_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- pg_isready
|
||||
- -U
|
||||
- postgres
|
||||
- -d
|
||||
- postgres
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user