Skip to main content
Traefik takes ports 80 and 443 and gets the certificate from Let’s Encrypt.

Requirements

  • Everything from Docker Compose
  • A domain name pointing at the server
  • Ports 80 and 443 open to the internet: Let’s Encrypt validates through them, so this cannot be tested on a laptop

1. Download and configure

Then open .env and set:

2. Start

Run it from the repository root and name both files: the root docker-compose.yml is the Hostman file, not this stack.

3. Check

Then open https://apowerb.example.com and sign up with the administrator e-mail.
Before apowerb-hosting#99, the overlay also left the interface on port 3000 and the API on port 8000 in plain HTTP. Check with docker compose ... ps: only traefik should publish ports. Otherwise, pull the repository or close 3000 and 8000 in the server’s firewall.
Everyday commands, optional services and troubleshooting are the same as Docker Compose, with the -f docker-compose/docker-compose.traefik.yml overlay added to each command.