Run caddy as proxy with docker-ce. With examples for nextcloud and forgejo.
  • Shell 73.8%
  • Smarty 26.2%
Find a file
2026-10-10 13:56:17 +02:00
.gitignore first commit 2026-10-10 13:55:32 +02:00
a7x-set-firewall first commit 2026-10-10 13:55:32 +02:00
Caddyfile.tpl first commit 2026-10-10 13:55:32 +02:00
docker-run-caddy first commit 2026-10-10 13:55:32 +02:00
README.md # 2026-10-10 13:56:17 +02:00

Nextcloud all-in-one

Operating System

This repo is tested on AlmaLinux 10. So install AlmaLinux the way you like it. Make sure your os is running smoothly. Install git.

Install Docker CE

Use Repo: https://f.r5d.de/a7x/docker-ce

Install Caddy

sudo mkdir -p /opt/services
sudo git clone https://f.r5d.de/a7x/caddy /opt/services/caddy
sudo cp /opt/services/caddy/Caddyfile.tpl /opt/services/caddy/Caddyfile

Deploy Caddyfile

Replace examples.
If you want to use letsencrypt the host must be accessible from the Internet via these domains.

Run Caddy

sudo /opt/services/caddy/docker-run-caddy