Fixed: Readme + Containerfile

This commit is contained in:
2025-12-04 08:31:35 +01:00
parent a61057d455
commit 21c5aa7ab3
2 changed files with 24 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
# Caddy Podman installation
## Configuration
```bash
# Set secret
podman secret create addy-token $PATH_TO_FILE_CONTAINING_DESEC_TOKEN
# Copy templates
cp config.env.tmpl config.env
cp Caddyfile.tmpl Caddyfile
```
## Firewall settings
```bash
# Create port forwardings for port 80 and 443
sudo firewall-cmd --permanent --add-forward-port=port=80:proto=tcp:toport=8080
sudo firewall-cmd --permanent --add-forward-port=port=443:proto=tcp:toport=8443
# Reload firewall
sudo firewall-cmd --reload
```