vps_update

This commit is contained in:
2026-03-04 00:56:24 +00:00
parent 5b13a5cbef
commit 75c739f123
18 changed files with 66 additions and 14 deletions

2
obsidian/.env Normal file
View File

@@ -0,0 +1,2 @@
COUCHDB_USER=pleasant
COUCHDB_PASSWORD=dC0y#fiBg56

3
obsidian/.env.save Normal file
View File

@@ -0,0 +1,3 @@
COUCHDB_USER=obsidian_user
COUCHDB_PASSWORD=ob123

23
obsidian/compose.yaml Normal file
View File

@@ -0,0 +1,23 @@
services:
obsidian-livesync:
container_name: obsidian-livesync #shortened name
image: couchdb:latest
env_file:
- .env
environment:
- COUCHDB_USER=${COUCHDB_USER}
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
volumes:
- /root/setup/VPS_Setup/obsidian/couchdb-data:/opt/couchdb/data
- /root/setup/VPS_Setup/obsidian/couchdb-etc:/opt/couchdb/etc/local.d
ports:
- "5984:5984"
restart: unless-stopped
healthcheck:
test: curl --fail -s -u ${COUCHDB_USER}:${COUCHDB_PASSWORD} http://localhost:5984/_up | grep -Eo '\"status\":\"ok\"' || exit 1
interval: 30s
timeout: 10s
retries: 3
labels:
- "net.unraid.docker.webui=http://[IP]:[PORT:5984]/_utils" # for some reason this does not work properly
- "net.unraid.docker.icon=https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/png/couchdb.png"

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,18 @@
[admins]
pleasant = -pbkdf2:sha256-bc41e84f208cd73b1c16ada2e9b529d59f2d9afb97fde05d66f8f351647e0988,f1ae600c51e28fd1e9a19575244a6578,600000
[couchdb]
uuid = 4dee7bd84bb0314014907be0319908b9
[chttpd_auth]
secret = a9a045afb03c73e24158f971b07a67d5
[chttpd]
enable_cors = true
[cors]
origins = *
headers = accept, authorization, content-type, origin, referer
credentials = true
methods = GET, PUT, POST, HEAD, DELETE