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

https://github.com/samcole8/cloudflared-compose

Easier Cloudflared connector deployment with Docker Compose
https://github.com/samcole8/cloudflared-compose

cloudflare-zero-trust cloudflared docker docker-compose

Last synced: 6 months ago
JSON representation

Easier Cloudflared connector deployment with Docker Compose

Awesome Lists containing this project

README

          

# cloudflared-compose

[![Release](https://img.shields.io/github/v/release/samcole8/cloudflared-compose)](https://github.com/samcole8/cloudflared-compose/releases/latest)
![Last Commit](https://img.shields.io/github/last-commit/samcole8/cloudflared-compose)
![Repo Size](https://img.shields.io/github/repo-size/samcole8/cloudflared-compose)

Deploy Cloudflared connectors using Docker Compose instead of command-line Docker.

## Setup

1. Install [Docker](https://docs.docker.com/engine/install/) and [Docker Compose](https://docs.docker.com/compose/install/standalone/)
2. Configure a Cloudflared connector on the Zero Trust dashboard ([official documentation](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/))
3. Instead of deploying a connector with command-line Docker, extract the `TUNNEL_TOKEN` from the provided command, and add it to a `.env` file in the same directory as `docker-compose.yml`
4. Start the container with `docker compose up`