Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raph6/docker-traefik

Set up and manage your network with an easy-to-use reverse proxy solution utilizing Traefik 3 and Docker
https://github.com/raph6/docker-traefik

2 3 certbot docker docker-compose gitlab gogs golang grafana jenkins letsencrypt miniflux prometheus registry traefik traefik-3 traefik-v2 traefik2 traefik3

Last synced: 1 day ago
JSON representation

Set up and manage your network with an easy-to-use reverse proxy solution utilizing Traefik 3 and Docker

Awesome Lists containing this project

README

        

# Traefik Server with Docker (Traefik 3 available)

Traefik 3 is now available, on branch **master**.

Traefik 2 is still usable from branch [traefik-2](https://github.com/raph6/docker-traefik/tree/traefik-2)

## Getting started

Make sure you have Docker and docker-compose installed and your DNS records set up

```shell
git clone https://github.com/raph6/docker-traefik.git
cd docker-traefik
```

## Setup Traefik
```shell
cd traefik

# create acme.json
touch traefik/acme/acme.json
chmod 600 traefik/acme/acme.json

# create your admin user file
htpasswd -B -C 14 -c traefik/basicAuth/.admin *your-username*
```

`htpasswd` can be found in the package `apache2-utils`

`sudo apt-get install apache2-utils` (adjust for your distribution)

## Run Traefik
In Traefik folder:
Make `.env` file on the same model as `.env.exemple`
```shell
docker compose up -d
```

or

```shell
[email protected] TRAEFIK_URL=traefik.yourdomain.tld docker compose up -d
```

## Services you can use

Feel free to ask for another project

- [Gitlab](gitlab)
- [Jenkins](jenkins)
- [Miniflux](miniflux)
- [Docker Registry](registry)
- [Gogs](gogs)
- [Prometheus-Grafana](prometheus-grafana) (based on https://github.com/axinorm/traefik-monitoring)

- [Golang project example](golang-project-example)

## Informations
HTTPS is enabled by default, your certificates are generated and automatically renewed

PR are welcome