Deploying CouchDB for MoonFM Sync

Since Xiaoyuzhou started showing splash ads, I decided to explore other podcast clients.

The official guide I found suggests creating a separate database for each user by enabling couch_peruser in the web settings. However, I couldn't locate this option, and manually adding it did not generate a separate database for each user. Since I'm the only user, I'll just use the admin account.

Deploy couchdb with Docker Compose:

services:

  couchdb:
    image: couchdb
    container_name: couchdb-moon
    restart: unless-stopped
    ports:
     - 5984:5984
    volumes:
     - ./data:/opt/couchdb/data
     - ./config:/opt/couchdb/etc/local.d
     - ./log:/opt/couchdb/var/log
    environment:
      COUCHDB_USER: admin
      COUCHDB_PASSWORD: yourAdminPasswd

Use Nginx to Proxy Port 5984 (Optional)

You can enable HTTPS and access it via a domain name, e.g., couchdb.domain.com.

Create the moonfm Database

curl -X PUT https://admin:[email protected]/moonfm \
     -H "Accept: application/json" \
     -H "Content-Type: application/json"

Enter the Following Link in MoonFM to Enable Sync

https://admin:[email protected]/moonfm

References:

Next Post Previous Post
No Comment
Add Comment
comment url