Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Template for quick configuration of Docker containers for reverse proxy with Traefik v2.x, automatic configuration of virtualhosts and generation of SSL certificates with Let's Encrypt.

License

Notifications You must be signed in to change notification settings

cubedserver/docker-traefik-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traefik Proxy

Template for quick configuration of Docker containers for reverse proxy with Traefik v2.x, automatic configuration of virtualhosts and generation of SSL certificates with Let's Encrypt.

Requirements

  • Docker 19.03 or higher
  • Docker Compose 1.27 or higher
  • apache2-utils latest version

Installation

  1. Download the latest version
  2. Generate a password for the Traefik admin user: htpasswd -nb admin your_secure_password
  3. Edit the traefik_dynamic.toml file and update with the generated password
  4. Create a new Docker network called web
  5. Create a new Docker network called internal
  6. Create an empty file that will hold your Let’s Encrypt information: touch acme.json ; chmod 600 acme.json
  7. Running the Traefik Container: docker-compose up -d

Tips

If you are looking for a script for initial server settings on DigitalOcean, Linone, AWS EC2 or similar, see the repository cubedserver/server-setup

Contributing

  1. Fork this repository!
  2. Create your feature from the develop branch: git checkout -b feature/my-new-feature
  3. Write and comment your code
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push the branch: git push origin feature/my-new-feature
  6. Make a pull request to the branch develop

Credits

License

Licensed under the MIT License.

About

Template for quick configuration of Docker containers for reverse proxy with Traefik v2.x, automatic configuration of virtualhosts and generation of SSL certificates with Let's Encrypt.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages