From 3c9930705eebbed4b28e693f51f8960db29a9df0 Mon Sep 17 00:00:00 2001 From: apb Date: Fri, 24 Dec 2021 22:01:05 +0000 Subject: [PATCH] [add] caddy --- caddy/Caddyfile | 0 caddy/docker-compose.yml | 18 ++++++++++++++++++ caddy/readme.md | 0 3 files changed, 18 insertions(+) create mode 100644 caddy/Caddyfile create mode 100644 caddy/docker-compose.yml create mode 100644 caddy/readme.md diff --git a/caddy/Caddyfile b/caddy/Caddyfile new file mode 100644 index 0000000..e69de29 diff --git a/caddy/docker-compose.yml b/caddy/docker-compose.yml new file mode 100644 index 0000000..525ca9a --- /dev/null +++ b/caddy/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3.7" + +services: + caddy: + image: caddy:2.4.6 + restart: unless-stopped + ports: + - "80:80" + - "443:443" + volumes: + - $PWD/Caddyfile:/etc/caddy/Caddyfile + - $PWD/site:/srv + - caddy_data:/data + - caddy_config:/config + +volumes: + caddy_data: + caddy_config: \ No newline at end of file diff --git a/caddy/readme.md b/caddy/readme.md new file mode 100644 index 0000000..e69de29