Git Product home page Git Product logo

cozy-docker's Introduction

Cozy Dockerfile

This is the Dockerfile recipe used to build the official Cozy image. It is built on top of the Ubuntu 14.04 image.

Installation

  • Install Docker. This recipe has been tested on Docker v1.0.1 and newer.
  • Fetch the Cozy image:
sudo docker pull cozy/full
  • OR you can build the container manually by running:
sudo docker build -t cozy/full github.com/cozy-labs/cozy-docker

Usage

sudo docker run -d -p 80:80 -p 443:443 cozy/full

Where -d tells Docker to daemonize the process and -p to bind ports to the host.

Then, you can open https://localhost/ in your browser to start using your new dockerized cozy instance.

Usage as a development environment

You can also use the same Docker image as a development environment. To do so, just add -e NODE_ENV=development and -e DISABLE_SSL=true:

sudo docker run -e NODE_ENV=development -e DISABLE_SSL=true -d -p 80:80 cozy/full

Hack

In order to modify or patch this recipe you have to clone the repository:

git clone https://github.com/cozy-labs/cozy-docker
cd cozy-docker

Modify the Dockerfile and/or the configuration files then build the container:

sudo docker build -t cozy/full .

That's all!

Security

It is highly recommended to build the image locally if you want to run Cozy in a production environment:

sudo docker build -t cozy github.com/cozy-labs/cozy-docker

This way, the security tokens will be reset, and the SSL certificate will be renewed.

What is Cozy?

Cozy Logo

Cozy is a platform that brings all your web services in the same private space. With it, your web apps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one profiles you.

Community

You can reach the Cozy Community by:

  • Chatting with us on IRC #cozycloud on irc.freenode.net
  • Posting on our Forum
  • Posting issues on the Github repos
  • Mentioning us on Twitter

cozy-docker's People

Contributors

bnjbvr avatar clochix avatar egavard avatar jankeromnes avatar jsilvestre avatar kloadut avatar kosssi avatar nledez avatar nono avatar skiant avatar

Watchers

 avatar

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.