jonas-merkle / container-cloudflare-tunnel

A Docker Compose container setup for a Cloudflare tunnel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Other


Languages

Language:Dockerfile 100.0%