Coder Social home page Coder Social logo

chanzeit / caddy Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 3.0 89 KB

Caddy Docker Custom Image

Home Page: https://hub.docker.com/r/rajaseg/caddy

License: Apache License 2.0

Dockerfile 100.00%
caddy automatic-https tls cloudflare-dns dnspod gandi lego-deprecated ntlm-transport caddy-trace caddyserver

caddy's Introduction

Caddy Docker Custom Image

Caddy Docker Container with custom modules

I took the base caddy docker image; added below custom modules and built custom caddy docker container. I just followed "Building your own Caddy-based image" section in the below link

https://hub.docker.com/_/caddy?tab=description

Modules Included

DNS

caddy-dns/cloudflare
caddy-dns/dnspod
caddy-dns/gandi
caddy-dns/lego-deprecated
caddy-dns/route53

Authentication

greenpau/caddy-auth-jwt
greenpau/caddy-auth-portal
greenpau/caddy-trace

Others

caddyserver/ntlm-transport
abiosoft/hmac
lolPants/caddy-requestid
mholt/caddy-webdav

Please find LICENSE link for caddy below

https://github.com/caddyserver/caddy/blob/master/LICENSE

Docker Compose

version: "3.7"

services:
  caddy:
    image: rajaseg/caddy
    ports:
      - "80:80"
      - "443:443"
    networks:
      - caddy
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - /mnt/caddydata:/data
      - /mnt/caddyconfig:/config
      - /mnt/caddylogs:/var/log/caddy
      - /mnt/caddysite-1:/etc/caddy/html/site-1
      - /mnt/caddysite-2:/etc/caddy/html/site-2
    deploy:
      placement:
        constraints:
          - node.role == manager
      replicas: 1
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure

volumes:
  caddydata:
    driver: "local"
  caddyconfig:
    driver: "local"
  caddylogs:
    driver: "local"
  caddysite-1:
    driver: "local"
  caddysite-2:
    driver: "local"
networks:
  caddy:
    external: true

caddy's People

Contributors

rajasekhar-gundala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.