FWIW, my solution was to map the following paths.
/opt/couchdb/data <-> /mnt/user/appdata/couchdb/data
/opt/couchdb/etc/local.d <-> /mnt/user/appdata/couchdb/etc
@thany the second line above seems to fix the CORS config persistence for me but you should test carefully.
@spants FYI
Yep. This container template deletes the entire database on upgrade. Hope no-one was storing anything important.
appdata/couchdb directory is mapped to Container Path: /usr/local/var/lib/couchdb which appears to be unused.
The web config refers to "./data" which I think is "./opt/couchdb/data"?
What is the process to flag this app template as broken/unmaintained? Hoping no one else has to waste their afternoon on this.