vsellier / easy-cozy

Easy cozy-cloud deployment
26 stars 7 forks source link

Install without docker-compose #14

Closed JamesDAdams closed 1 year ago

JamesDAdams commented 2 years ago

Hi, i'm on unraid OS, so i don't want use docker-compose.

I correctly install db and cozy container,

i correctly execute the init.sh command like this : image

But i have a problem with create-instance.sh : i try the first command like this :

docker exec Cozy ./cozy instances add --host 0.0.0.0 --apps registry,drive,collect,settings,onboarding "jamesadams.cozy.domain.com" | tee "/tmp/cozyXXX"

But the terminal response this :

Could not get password from standard input: EOF

You have an idea ?

vsellier commented 2 years ago

Hi James,

Is a COZY_ADMIN_PASSPHRASE environment variable is well defined in your docker container ? It will be used to create the /etc/cozy/cozy-admin-passphrase during startup.

As a workaround, you can launch the command directly in you container, it should prompt for your admin password

docker exec Cozy bash
./cozy instances add --host 0.0.0.0 --apps registry,drive,collect,settings,onboarding "jamesadams.cozy.domain.com"