Looking for clarity on setting up couchdb single_node with docker-compose
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the repository README and the linked Dockerfile discussion, then compare the local.ini locations shown in the issue with the couchdb:2 image setup. Document whether single_node=true is supported for this image and the supported way to create _users, _replicator, and _global_changes; done means a clear, reproducible docker-compose setup.
Written by the indexing model from the issue text.
Description
Expected Behavior
I am trying to set up a single node instance of couchdb:2 using docker-compose. I understand from reading the README the limitation that the _users, _replicator and global_changes dbs need to be set up after installation. I tried adding the single_node=true config in a local.ini file and copying that to /opt/couchdb/etc/ and /opt/couchdb/etc/local.d in via Dockerfile. Neither of those approaches seem to work. According to this comment, this seems to be a valid approach.
Is it not a viable solution for couchdb:2?
FWIW: Here is the local.ini file from inside the container:
root@528ea27a75a7:/opt/couchdb/etc/# cat local.ini
[couchdb]
single_node = true
[chttpd]
bind_address = any
[httpd]
bind_address = any
[couch_httpd_auth]
require_valid_user = true
[chttpd]
require_valid_user = true
If not, then I need to create the _users, _replicator and _global_changes dbs a different way. I see this comment in the same thread. Is this still the best approach?
Much appreciated.
- Dominant language
- Dockerfile
- Stars
- 290
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/couchdb-docker
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/couchdb-docker#293 ·
-
Docker Setup IssueOpen
Difficulty 4/5 3-5 days Newbie friendliness 32/100
apache/couchdb-docker#292 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
apache/couchdb-docker#288 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
apache/couchdb-docker#285 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
apache/couchdb-docker#283 ·
All issues in apache/couchdb-docker
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AOSSIE-Org/DebateAI#611 ·
Maintainers usually reply within 3 days
-
terraform-provider
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
ClickHouse/terraform-provider-clickhousedbops#281 ·
Maintainers usually reply within 2 days
-
[CoreBundle] Migrations are silently skipped on MariaDB with DBAL 4 (AbstractMigration::isMySql())OpenPotential Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Sylius/Sylius#19270 · 1 comment · 4 reactions ·
Maintainers usually reply within 1 day
-
Edit: Cinemax LatinoOpenchannels:edit check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
linksplatform/doublets-rs#66 ·