Skip to content

Latest commit

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Logo

Traefik & Docker with Cloudflare + Letsencrypt

Report Bug · Request Feature

Prerequisites

Docker, docker-compose, Cloudflare

  1. create .env like in .env.example

    touch .env
    nano .env
  2. TRAEFIK_USER_PASS can be created here

  3. CLOUDFLARE_DNS_API_TOKEN example is here. you need to be able to edit zone dns

  4. Important Change the traefik path of your volume in docker-compose.yml

  5. if everything is configured correctly you can run docker

    docker-compose up -d

Examples

services:
librespeed:
image: ghcr.io/linuxserver/librespeedcontainer_name: librespeedrestart: unless-stoppednetworks:
- proxylabels:
- 'traefik.enable=true'
- 'traefik.http.routers.librespeed.rule=Host(`librespeed.coding.global`)'
- 'traefik.http.routers.librespeed.entrypoints=websecure'
- 'traefik.http.routers.librespeed.tls.certresolver=letsencrypt'
- 'traefik.http.services.librespeed.loadbalancer.server.port=80'networks:
proxy:
external: falsename: proxy

More Examples

  1. simple static html + nginx
  2. react html frontend + nginx & express backend
  3. nextjs frontend & graphql backend
  4. graphql backend
  5. portainer

About

Traefik & Docker with Cloudflare + Letsencrypt

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors