mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-07 17:42:11 +08:00
feat: create app PortNote
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 30000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Database Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
web:
|
||||
image: haedlessdev/portnote:v1.2.0
|
||||
container_name: portnote
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
environment:
|
||||
JWT_SECRET: "changeme_jwt_secret"
|
||||
USER_SECRET: "changeme_user_secret"
|
||||
LOGIN_USERNAME: "admin"
|
||||
LOGIN_PASSWORD: "admin"
|
||||
DATABASE_URL: "postgresql://postgres:${PANEL_DB_USER_PASSWORD}@db:5432/postgres"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_started
|
||||
agent:
|
||||
image: haedlessdev/portnote-agent:v1.2.0
|
||||
environment:
|
||||
DATABASE_URL: "postgresql://postgres:${PANEL_DB_USER_PASSWORD}@db:5432/postgres"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_started
|
||||
db:
|
||||
image: postgres:17
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
POSTGRES_DB: postgres
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user