mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
chore(deps): update couchdb docker tag to v3.4.2 (#2359)
* chore(deps): update couchdb docker tag to v3.4.2 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-action update-app-version
parent
bbcd62848d
commit
ebef4f3469
@@ -0,0 +1,22 @@
|
||||
[couchdb]
|
||||
single_node=true
|
||||
max_document_size = 50000000
|
||||
|
||||
[chttpd]
|
||||
require_valid_user = true
|
||||
max_http_request_size = 4294967296
|
||||
|
||||
[chttpd_auth]
|
||||
require_valid_user = true
|
||||
authentication_redirect = /_utils/session.html
|
||||
|
||||
[httpd]
|
||||
WWW-Authenticate = Basic realm="couchdb"
|
||||
enable_cors = true
|
||||
|
||||
[cors]
|
||||
origins = app://obsidian.md,capacitor://localhost,http://localhost
|
||||
credentials = true
|
||||
headers = accept, authorization, content-type, origin, referer
|
||||
methods = GET, PUT, POST, HEAD, DELETE
|
||||
max_age = 3600
|
||||
@@ -0,0 +1,25 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: admin
|
||||
envKey: OBSIDIAN_LIVESYNC_USER
|
||||
labelEn: Username
|
||||
labelZh: 用户名
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: obsidian
|
||||
envKey: OBSIDIAN_LIVESYNC_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 5984
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
couchdb:
|
||||
image: couchdb:3.4.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
environment:
|
||||
- COUCHDB_USER=${OBSIDIAN_LIVESYNC_USER}
|
||||
- COUCHDB_PASSWORD=${OBSIDIAN_LIVESYNC_USER_PASSWORD}
|
||||
volumes:
|
||||
- ./data:/opt/couchdb/data
|
||||
- ./conf/local.ini:/opt/couchdb/etc/local.ini
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:5984
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user