bajar memoria de tailscaled
This commit is contained in:
@@ -17,6 +17,14 @@ The solution uses a multi-stage Docker build:
|
||||
- **Stage 2 (tailscale)**: Downloads and extracts Tailscale binaries
|
||||
- **Stage 3 (production)**: Final Alpine image with nginx, Tailscale, and GoAccess
|
||||
|
||||
### Memory Optimization
|
||||
|
||||
Configured for 256MB Fly.io containers:
|
||||
- **Go GC settings**: `GOGC=10` and `GOMEMLIMIT=100MiB` for aggressive Tailscale memory management
|
||||
- **GoAccess**: Static HTML generation (60-second intervals) instead of real-time WebSocket
|
||||
- **Nginx**: Reduced connection timeouts and buffer sizes
|
||||
- **Package optimization**: Minimal Alpine packages only
|
||||
|
||||
### Key Components
|
||||
|
||||
- **nginx.conf**: Main configuration with rate limiting zones, server blocks for each subdomain, and GoAccess metrics endpoint
|
||||
|
Reference in New Issue
Block a user