Skip to content

Docker frontend / reverse proxy to run one or more web apps at the same time

Notifications You must be signed in to change notification settings

t3easy/docker-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A preconfigured Traefik service with docker backend

Usage

  1. Change .env COMPOSE_FILE to include all necessary compose files.
  2. Modify Traefik config to your needs
    1. Example for development: traefik.dev.toml
    2. Example for production: traefik.prod.toml
  3. If you have/need other certificates than Let's Encrypt:
    Add certificates to certs folder, copy the example certs/.cert.toml.example to certs/your-cert.toml.
  4. For production, you should build the image with docker-compose build --pull and push it to your registry docker-compose push.
  5. Start the service docker-compose up -d

Protect the API

Either disable the API in the config or generate basic authentication credentials with escaped $ and add it to your CI variables as BASIC_AUTHENTICATION

echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g

About

Docker frontend / reverse proxy to run one or more web apps at the same time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published