Run caddy as proxy with docker-ce. With examples for nextcloud and forgejo.
- Shell 73.8%
- Smarty 26.2%
| .gitignore | ||
| a7x-set-firewall | ||
| Caddyfile.tpl | ||
| docker-run-caddy | ||
| README.md | ||
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