feat: update linkwarden v2.11.7

This commit is contained in:
arch3rPro
2025-08-21 22:38:20 +08:00
parent 75ffda859f
commit 5068e222f7
3 changed files with 1 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
NEXTAUTH_URL=http://localhost:3000/api/v1/auth
NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
+34
View File
@@ -0,0 +1,34 @@
additionalProperties:
formFields:
- default: "3000"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Service Port 3000
labelZh: 服务端口 3000
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: NEXTAUTH_SECRET
labelEn: NEXTAuth Secret
labelZh: NEXTAuth 密钥
required: true
rule: paramComplexity
type: password
- default: ""
edit: true
envKey: POSTGRES_PASSWORD
labelEn: Postgres Password
labelZh: Postgres 数据库密码
required: true
rule: paramComplexity
type: password
- default: ""
edit: true
envKey: MEILI_MASTER_KEY
labelEn: Meilisearch Master Key
labelZh: Meilisearch 主密钥
required: true
rule: paramComplexity
type: password
@@ -0,0 +1,47 @@
services:
linkwarden:
image: ghcr.io/linkwarden/linkwarden:v2.11.7
container_name: ${CONTAINER_NAME}
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:3000
volumes:
- ./data:/data/data
networks:
- 1panel-network
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
- NEXTAUTH_URL=http://localhost:3000/api/v1/auth
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
depends_on:
- postgres
- meilisearch
labels:
createdBy: Apps
meilisearch:
image: getmeili/meilisearch:v1.15.2
container_name: ${CONTAINER_NAME}-Meilisearch
restart: always
volumes:
- ./meili_data:/meili_data
networks:
- 1panel-network
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
labels:
createdBy: Apps
postgres:
image: postgres:16-alpine
container_name: ${CONTAINER_NAME}-Postgres
restart: always
volumes:
- ./pgdata:/var/lib/postgresql/data
networks:
- 1panel-network
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
labels:
createdBy: Apps
networks:
1panel-network:
external: true