/jack

Run multiple apps on one server with Docker and Traefik.

Primary LanguageHTML

Jack

A project that demonstrates how to run multiple apps on one server using Docker and Traefik. You can find the explanation here: https://alphacoder.xyz/multiple-apps-one-server-with-docker-and-traefik/.

Dev setup

  • Clone/download this repo
  • Install Docker and Docker Compose
  • Run docker-compose up in project root

Prod setup

  • Provision a server
  • Configure a domain (and sub-domains) for your server
  • Install Git
  • Fork and clone this repo
  • Install Docker and Docker Compose
  • Edit docker-compose.prod.yml and traefik.toml as appropriate (domain and email)
  • Create a .htpasswd file in /traefik with credentials to access the Traefik dashboard
  • Run docker-compose -f docker-compose.prod.yml up --build -d in project root