Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
/ cocotte Public archive

Entry-level cloud installer for developers learning application containerization.

License

Notifications You must be signed in to change notification settings

chrif/cocotte

Repository files navigation

Cocotte

Code Coverage Maintainability Scrutinizer Code Quality

Cocotte aims at easing the learning curve for web developers starting with cloud hosting and application containerization. You get a basic and affordable installation, allowing you to focus on your project(s) first, and learn about your infrastructure later:

  • Docker containers for all processes.
  • Digital Ocean as the cloud provider.
  • Traefik as the reverse proxy for hostname routing and SSL certificates automation.

Requirements

  • A Mac or Linux operating system.
  • Docker (including Docker Compose and Docker Machine).
  • A Digital Ocean account.
  • A domain name using the name servers of Digital Ocean.

Installation

  • Install Docker.
  • Linux only: install Docker Compose.
  • Install Docker Machine.
  • If you don't have a Digital Ocean account, create one with this link and you will get a 100$ credit.
  • Generate a Digital Ocean API token with write permissions.
  • Make sur you have a domain whose name servers are set to:
    • ns1.digitalocean.com
    • ns2.digitalocean.com
    • ns3.digitalocean.com

Usage

  • Run the wizard.
     $ docker run -it --rm chrif/cocotte wizard
    
  • Display help for the install command.
     $ docker run -it --rm chrif/cocotte install --help
    
  • More usages

Reference

Pricing

If you already have a Digital Ocean account, then you probably know about cloud pricing. For those who don't, you are charged $0.007/hour by Digital Ocean for the machine that Cocotte creates. So just testing Cocotte and then destroying the machine costs less than 1 cent. Keeping the machine online for a month costs 5$.

Read about Digital Ocean pricing.

About

Entry-level cloud installer for developers learning application containerization.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages