Logo
Explore Help
Sign In
eric/PMOCrazycoder
1
0
Fork 0
You've already forked PMOCrazycoder
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
62b53f26f0b2883f91a203a8ea35b9f5e012f4c5
PMOCrazycoder/logrotate-config

13 lines
246 B
Plaintext
Raw Normal View History

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-28 16:56:35 +01:00
/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
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0+dev-393-g3a969a58c2 Page: 159ms Template repo/view: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API