Skip to content

jonas-merkle/container-cloudflare-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

container-cloudflare-tunnel

A Docker Compose container setup for a Cloudflare tunnel.

Table of contents

Setup

0. Requirements

  • Docker

  • Docker Compose

  • this setup assumes that Cloudflare is the DNS provider for your domain.

1. Add environment variables

Add the missing information for the environment variables and host information:

nano .env
nano config/hosts

Mark the .env and hosts file so they will not be tracked by git:

git update-index --assume-unchanged .env
git update-index --assume-unchanged config/hosts

Usage

Start container

docker compose up -d

Stop container

docker compose down

About

A Docker Compose container setup for a Cloudflare tunnel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project