skleijkers/caddy-l4

By skleijkers

Updated about 2 months ago

Caddy reverse proxy with layer 4 addon

Image
Networking
0

10K+

skleijkers/caddy-l4 repository overview

Caddy reverse proxy with layer 4 addon

This is a Caddy reverse proxy image with the layer 4 addon baked in. The included layer 4 addon is from caddy-l4 and is compiled from source.

The tag number represents the Caddy version.

Install

docker pull skleijkers/caddy-l4:latest

Run

docker run --volume "./etc:/etc/caddy" \
    --name caddy --rm \
    --net=host \
    skleijkers/caddy-l4:latest

Docker compose

services:
  caddy:
    image: skleijkers/caddy-l4:latest
    container_name: caddy
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    volumes:
      - ./etc:/etc/caddy
      - ./data:/data
      - ./config:/config
    network_mode: host

Services

ServicePort
Control2019
HTTP80
HTTPS443

Volumes

VolumeDescription
/etc/caddyWhere the Caddyfile is placed
/dataWhere the Caddy data will be placed
/configWhere the autosave config will be placed

Configuration

A Caddyfile should be placed in the /etc/caddy volume. For more information about the Caddyfile see the Caddy documentation.

Furthermore, this image has the layer 4 addon baked in. For more information about the layer 4 addon see the caddy-l4 documentation.

Tag summary

Content type

Image

Digest

sha256:96266af31

Size

39.6 MB

Last updated

about 2 months ago

docker pull skleijkers/caddy-l4