Flake to setup a local env for atproto development

move security at the end

edouard.paris 42e4a510 cd4581c9

verified
Changed files
+12 -12
+12 -12
README.md
···
A Nix-based development environment for running AT Protocol services (PDS, PLC, Caddy proxy, and MailHog).
-
## ⚠️ Security Warning
-
-
**This environment uses a modified AT Protocol relay with SSRF protection disabled.**
-
-
- The relay is built from a forked repository (`edouardparis/indigo`) with SSRF (Server-Side Request Forgery) protections disabled
-
- Custom ports are allowed without restrictions
-
- **This configuration is ONLY safe for local development environments**
-
- **DO NOT use this relay configuration against external hosts or in production**
-
- **DO NOT expose this relay to the internet**
-
-
This setup is designed for controlled local testing where you need flexibility in network access that would normally be restricted for security reasons.
-
## Prerequisites
1. **Install mkcert** (required for SSL certificate generation):
···
- `tmux kill-session -t atproto` - Stop all services
- `nix run .#mailhog` - Start MailHog (run separately if needed)
- `nix run .#generate-certs` - Generate SSL certificates
+
+
## ⚠️ Security Warning
+
+
**This environment uses a modified AT Protocol relay with SSRF protection disabled.**
+
+
- The relay is built from a forked repository (`edouardparis/indigo`) with SSRF (Server-Side Request Forgery) protections disabled
+
- Custom ports are allowed without restrictions
+
- **This configuration is ONLY safe for local development environments**
+
- **DO NOT use this relay configuration against external hosts or in production**
+
- **DO NOT expose this relay to the internet**
+
+
This setup is designed for controlled local testing where you need flexibility in network access that would normally be restricted for security reasons.