|
|
|
|
|
by BigTuna
37 days ago
|
|
I reverse proxy everything through a Caddy instance running on the same machine so I avoid the firewall dance entirely by just prefixing all my port assignments in the compose file with the loopback IP (eg. 127.0.0.1:3000:3000). Nftables denies all but 80 and 443 and I don't have to worry about restarts/flushes breaking things. |
|
Also you don't even need the loopback address if the traffic is between one container and another, just a bridge network is fine.