vps_update
This commit is contained in:
2
obsidian/.env
Normal file
2
obsidian/.env
Normal file
@@ -0,0 +1,2 @@
|
||||
COUCHDB_USER=pleasant
|
||||
COUCHDB_PASSWORD=dC0y#fiBg56
|
||||
3
obsidian/.env.save
Normal file
3
obsidian/.env.save
Normal file
@@ -0,0 +1,3 @@
|
||||
COUCHDB_USER=obsidian_user
|
||||
COUCHDB_PASSWORD=ob123
|
||||
|
||||
23
obsidian/compose.yaml
Normal file
23
obsidian/compose.yaml
Normal 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"
|
||||
BIN
obsidian/couchdb-data/_dbs.couch
Normal file
BIN
obsidian/couchdb-data/_dbs.couch
Normal file
Binary file not shown.
BIN
obsidian/couchdb-data/_nodes.couch
Normal file
BIN
obsidian/couchdb-data/_nodes.couch
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18
obsidian/couchdb-etc/docker.ini
Normal file
18
obsidian/couchdb-etc/docker.ini
Normal 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
|
||||
Reference in New Issue
Block a user