Giter VIP home page Giter VIP logo

cloudflared_network's Introduction

cloudflared_network

Primeros pasos

Copia el fichero de configuración .env.example a .env

cp .env.example .env

Modifica el fichero .env para introducir el Token generado por Cloudflare Carga el fichero .env

source .env

Creación del Tunel

Documentación oficial

  • instalación del cli

Imagen Docker del Cli

Imagen docker

Cómo arrancarla

Ejecutarlo con docker cli

docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token TOKEN_GENERADO

o con docker compose creando el fichero docker-compose.yaml

services:
  cloudflared:
    restart: always
    container_name: cloudflared_tunnel
    image: cloudflare/cloudflared:latest
    networks:
      - cloudflare
    volumes:
      - ./config.yml:/etc/cloudflared
    command: ["tunnel","--no-autoupdate","run", "--token", "TOKEN_GENERADO"]

networks:
  cloudflare:
    driver: bridge

Y arrancarlo dela manera habitual

docker compose up -d

Fichero de configuración

El config.yml puede colocarse en la carpeta del usuario .clouflared o de manera global en la carpeta /etc/cloudflared o /usr/local/etc/cloudflared

cloudflared_network's People

Contributors

chrisvdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.