Giter Club home page Giter Club logo

Comments (4)

sblaisot avatar sblaisot commented on June 1, 2024

Thank you for your feedback.

cozy.example.yaml is an example configuration file and is not intended to be used at all in the docker execution.

You should rather create your own cozy.yml configuration file and mount it under /etc/cozy/cozy.yml of use the COZY_COUCHDB_URL variable.

However I see you gave this variable and it seems to not be taken into account. I will take a look at this in the next few days.

http://localhost:5984 is the default couchdb url when cozy-stack is started unconfigured.

from cozy-stack.

sblaisot avatar sblaisot commented on June 1, 2024

Also please note that you have an inconsistency between these two lines in the password, one time with a lowercase p and one time with an uppercase P

    -e COUCHDB_PASSWORD=P@ssw0rd \
    -e COZY_COUCHDB_URL=http://cozy:p@ssw0rd@couchdb:5984 \

I'm not sure also about how this work when there is an @ in the password

from cozy-stack.

sblaisot avatar sblaisot commented on June 1, 2024

Oh, I see the problem in the documentation. I will update it.

in the meantime, You can start cozy-stack with (please update password):

docker network create cozy-stack

docker run --rm -d \
    --name cozy-stack-couch \
    --network cozy-stack \
    -e COUCHDB_USER=admin \
    -e COUCHDB_PASSWORD=password \
    -v $HOME/.cozy-stack-couch:/opt/couchdb/data \
    couchdb:3.3

docker run --rm \
    --name cozy-stack \
    --network cozy-stack \
    -p 8080:8080 \
    -p 6060:6060 \
    -e COUCHDB_HOST=cozy-stack-couch \
    -e COUCHDB_USER=admin \
    -e COUCHDB_PASSWORD=password \
    -e COZY_COUCHDB_URL=http://admin:password@cozy-stack-couch:5984 \
    -e COZY_HOST=127.0.0.1 \
    -e COZY_ADMIN_HOST=127.0.0.1 \
    -e COZY_FS_URL=file:///var/lib/cozy \
    -v $HOME/.cozy-stack-data:/var/lib/cozy \
    cozy/cozy-stack:latest

from cozy-stack.

sblaisot avatar sblaisot commented on June 1, 2024

#4250 should fix the documentation as well as entrypoint and make the instruction work with a password containing an @

from cozy-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.