bho9668 / dev-op-boilerplate

Basic starting point for deploying Dockerized Nodejs, nginx, Mongo/Postgres, and Traefik containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevOps Traefik Boilerplate

Why?

This project came out of my desire to understand how to correctly use Traefik as my reverse proxy. I had tried to do the same first with nginx, but it felt like nginx really wasnt built with that use in mind. Once I decoded the Traefik syntax, everything became a breeze.

So here we are, a basic setup showing configuration options I used to get up and running. When in doubt, reference the docs.

How?

The ideal process to start using and experimenting with this boilerplate is to clone it!

git clone https://github.com/karnthis/dev-op-boilerplate.git

Once you have a local copy, you will need to update the placeholders:

  • MYDOMAIN and SUB in the nginx config
  • MYDOMAIN in the traefik.toml

Additionally, you will need to copy sample.env to .env and populate it with your values. This boilerplate uses Digitial Ocean, but many others are supported. To use Digital Ocean, you can create a free account and move your DNS configuration to them. It should be a similar process for other providers as well.

About

Basic starting point for deploying Dockerized Nodejs, nginx, Mongo/Postgres, and Traefik containers


Languages

Language:Shell 60.7%Language:HTML 28.8%Language:JavaScript 10.5%