choose this repository to deploy only traefik
Guillaume "B.B." Van Hemmen
fafd8a2ff1
The README.md now includes a step to create the acme.json file and set its permissions. This ensures that Traefik can manage SSL certificates securely. Proper rights for acme.json are required to prevent unauthorized access. |
||
---|---|---|
.env.dist | ||
.gitignore | ||
docker-compose.yml | ||
LICENCE | ||
README.md |
Traefik Standalone
Introduction
This project sets up a standalone Traefik reverse proxy using Docker Compose. Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices and integrating them with your existing infrastructure easy.
Table of Contents
Prerequisites
- Docker: Make sure Docker is installed and running on your system.
- Docker Compose: You also need Docker Compose to orchestrate the container setup.
Installation
-
Clone the repository:
git clone https://github.com/your-repository-url/traefik-standalone.git cd traefik-standalone
-
Copy the environment variable template:
cp .env.dist .env
-
Customize the
.env
file as necessary for your environment. -
Touch acme.json on the parent folder and grant him the proper rights
touch ../acme.json && chmod 600 ../acme.json
-
Usage
-
Start the Traefik service with Docker Compose:
docker compose up -d
-
You can now start adding your services and configure Traefik to reverse proxy to them.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for details.