1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-08-15 09:40:48 +00:00
parent 0591a122bc
commit 6a3d2f5a0c
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
CONTAINER_NAME="joplin"
JOPLIN_EXTERNAL_URL="http://localhost:40082"
PANEL_APP_PORT_HTTP="40082"
POSTGRES_DB="joplin"
POSTGRES_HOST="postgres"
POSTGRES_PORT="5432"
POSTGRES_PWD=""
POSTGRES_USER=""

View File

@@ -0,0 +1,57 @@
additionalProperties:
formFields:
- default: 40082
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: POSTGRES_HOST
key: postgresql
labelEn: Postgres database Service
labelZh: Postgres数据库服务
required: true
type: service
- default: "5432"
edit: true
envKey: POSTGRES_PORT
labelEn: Postgres database Service Port
labelZh: Postgres数据库服务端口
required: true
rule: paramPort
type: number
- default: joplin
edit: true
envKey: POSTGRES_DB
labelEn: Postgres database Name
labelZh: Postgres数据库名
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: POSTGRES_USER
labelEn: Postgres database User Name
labelZh: Postgres数据库用户名
required: true
rule: paramCommon
type: text
- default: ""
edit: true
envKey: POSTGRES_PWD
labelEn: Postgres database User Password
labelZh: Postgres数据库密码
required: true
rule: paramCommon
type: password
- default: http://localhost:40082
edit: true
envKey: JOPLIN_EXTERNAL_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text

View File

@@ -0,0 +1,24 @@
services:
joplin:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:22300"
environment:
- APP_BASE_URL=${JOPLIN_EXTERNAL_URL}
- APP_PORT=22300
- POSTGRES_PASSWORD=${POSTGRES_PWD}
- POSTGRES_DATABASE=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_HOST=${POSTGRES_HOST}
- DB_CLIENT=pg
image: florider89/joplin-server:3.0.1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true