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.
- 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.
- 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
- 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
If you already have a Digital Ocean account, then you probably know about cloud pricing. For those who don't, you are charged