Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Docker: possible ENV params #225

Open
BananaAcid opened this issue Jun 18, 2022 · 2 comments
Open

Documentation for Docker: possible ENV params #225

BananaAcid opened this issue Jun 18, 2022 · 2 comments

Comments

@BananaAcid
Copy link

BananaAcid commented Jun 18, 2022

It would be great, if someone who knows the ENV params that could be used in with the docker image, would document them somewhere.

I am personally looking specifically for the one db per user and single_node setting to enable (on container creation).

The only documented params on the docker page (hidden within the texts, no table) are

refering to: https://hub.docker.com/_/couchdb

@BananaAcid BananaAcid changed the title Documentation: d Documentation for Docker: ENV üara Jun 18, 2022
@BananaAcid BananaAcid changed the title Documentation for Docker: ENV üara Documentation for Docker: possible ENV params Jun 18, 2022
@ghost
Copy link

ghost commented Aug 31, 2022

i guess there is none. They recommend to use a curl container, for initialisation.
I would like to use a env var, too.

@ghost
Copy link

ghost commented Aug 31, 2022

This is my current soultion, since i run my container in podman, with systemd:
ExecStartPost=-/bin/bash -c "sleep 10 && curl -u $User:$PASSWORD -X PUT localhost:5984/_users && curl -u $User:$PASSWORD -X PUT localhost:5984/_replicator"

But shure, it is ugly, if it tries to create them by every start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant