Fixed: Readme + Containerfile
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user