Files
PMOCrazycoder/logrotate-config
Eric Coissac 62b53f26f0 Enhance Docker Setup with User Management, Logging, and Startup Script
This commit enhances the Docker setup by:
- Creating a dedicated programmer user with UID 1000
- Adding logrotate for log management
- Updating the Dockerfile to use the new user and expose port 7860
- Adding a startup script to manage MCP server and Open Code processes
- Updating the Makefile to include interactive mode and container naming
- Configuring log rotation for server logs
2026-01-30 17:39:54 +01:00

13 lines
246 B
Plaintext

/log/server.log /log/opencode.log {
daily
rotate 5
compress
delaycompress
missingok
notifempty
create 644 programmer programmer
sharedscripts
postrotate
# No restart needed for log files
endscript
}