This repo includes a docker-compose
file that sets up a basic couchdb instance with a CORs-enabled configuration. It's to be used on your LAN and uses http
instead of https
because of this.
This docker-compose
is made specifically to be the database server for Notes.
- Device that supports docker
- Install docker-compose
git clone
this project
- In the project directory, run
docker compose up
- Once the container is running, find your local IP address:
Typically, your local IP address will be the one that starts with
192.168.*
. It's usually the firstinet
line that doesn't start with127.0.0.1
.
ifconfig | grep inet
Note: this is not a static IP address for the device running the container, so this address may change.
The admin user and password are defined in the docker-compose.yaml
. Because the intent of this project is to run on your LAN, this is not a secure username or password.
To interact with the CouchDB server and database GUI while running the container, go to: http://localhost:5984/_utils/
. Alternatively, you can use {your IP address}:5984/_utils/