diff --git a/apps/docmost/0.21.0/data.yml b/apps/docmost/0.21.0/data.yml new file mode 100644 index 0000000..b46ee7b --- /dev/null +++ b/apps/docmost/0.21.0/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: 30049 + 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 \ No newline at end of file diff --git a/apps/docmost/0.21.0/docker-compose.yml b/apps/docmost/0.21.0/docker-compose.yml new file mode 100644 index 0000000..904aac6 --- /dev/null +++ b/apps/docmost/0.21.0/docker-compose.yml @@ -0,0 +1,38 @@ +services: + docmost: + container_name: ${CONTAINER_NAME} + restart: always + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + volumes: + - docmost:/app/data/storage + environment: + APP_URL: "http://localhost:3000" + APP_SECRET: "52f235dee223c92a83a934ada13b83075c9855fe966b3cbf9dd86810e2b742ee" + DATABASE_URL: "postgresql://docmost:${PANEL_DB_USER_PASSWORD}@db:5432/docmost?schema=public" + REDIS_URL: "redis://redis:6379" + image: docmost/docmost:0.21.0 + labels: + createdBy: "Apps" + depends_on: + - db + - redis + db: + image: postgres:16-alpine + environment: + POSTGRES_DB: docmost + POSTGRES_USER: docmost + POSTGRES_PASSWORD: ${PANEL_DB_USER_PASSWORD} + restart: always + volumes: + - db_data:/var/lib/postgresql/data + + redis: + image: redis:7.2-alpine + restart: always + volumes: + - redis_data:/data +volumes: + docmost: + db_data: + redis_data: \ No newline at end of file