Replies: 1 comment 1 reply
-
No, it's entirely possible to create multiple CouchDBs on a single host with different ports, but you have to configure CouchDB to use that port as well. Each CouchDB knows what port it's on, so the docker compose setup you're using is incorrect. This is a rather unusual setup...do you have a specific reason for running multiple (non-clustered) CouchDBs on a single host using Docker? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If you setup two databases on localhost on different ports then replication fails with the following error:
Steps to Reproduce
Expected Behaviour
Replication works.
Your Environment
Additional Context
It looks like Couch isn't respecting port when determining whether hosts are different. My guess is that at least one login in the replication works, a session is created, then when Couch sees the second host it treats it as the same and tries to use the same session to access the second instance.
Beta Was this translation helpful? Give feedback.
All reactions