:warning: Unofficial, not affiliated with cozy.io
Simplified procedure to run a personal cozy cloud with docker.
What is included :
What is (not yet) included :
[ ] Konnector management [ ] Email configuration [ ] Backups management
Choose a cozy subdomain for you instance like cozy.mydomain.tld. Declare on your domain :
A entry with the ip of your server to cozy.mydomain.tldCNAME entry *.cozy.mydomain.tld to cozy.mydomain.tldgit clone https://github.com/vsellier/easy-cozy.git
.env file. You can use the env-template file as reference.DATABASE_DIRECTORY=/var/lib/cozy/db
STORAGE_DIRECTORY=/var/lib/cozy/storage
COZY_TLD=cozy.mydomain.tld
[email protected]
# change by the values you put on your .env file
# mkdir -p /var/lib/cozy/db /var/lib/cozy/storage
# sudo chown 1000 /var/lib/cozy /var/lib/cozy/db /var/lib/cozy/storage
On a linux x86 server :
# sudo docker-compose up -d
On a Linux arm / Raspberry server :
# sudo docker-compose -f docker-compose.yml -f docker-compose-arm.yml up -d
# sudo docker-compose ps
# sudo docker-compose logs -f
If everything is ok, you should have 3 running containers :
$ sudo docker-compose ps
Name Command State Ports
----------------------------------------------------------------------------------------------------------------------------------
easycozy_cozy_1 /entrypoint.sh Up 127.0.0.1:6060->6060/tcp
easycozy_db_1 /docker-entrypoint.sh /opt ... Up 4369/tcp, 5984/tcp, 9100/tcp
easycozy_front_1 /traefik --acme.email=cozy ... Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp, 127.0.0.1:8080->8080/tcp
From the root directory of the project :
# sudo ./init.sh
You can access your cozy installation in a browser via the url https://cozy.mydomain.tld.
The first connection can take a long time (especially if you are using a RaspberryPi as a server) due to the ssl certificate generation. Be patient.
We will now create a personal instance myuser.cozy.mydomain.tld :
# sudo ./create-instance.sh myuser
Open in a browser the url displayed at the end of the script output to finalize the instance configuration.
:+1: Congratulations you have now your own cozy cloud.
Drive and Photo are installed by default by the create-instance.sh script. Other applications like banks or contacts are also available.
You can go to the store application (store.yourinstance.youdomain.tld) to manage you applications.
To manually install an application, you can run the application.sh script :
sudo ./application.sh <instance name> <application>
Content type
Image
Digest
sha256:dfeaef3d8…
Size
192.9 MB
Last updated
over 3 years ago
docker pull vsellier/easy-cozy