-
Notifications
You must be signed in to change notification settings - Fork 1
Remove Makefile dependency, migrate all features to Docker Compose and admin panel #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
|
@copilot also map the docker socket and implement some basic container maintenance tasks in the administration area. |
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
…cation Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Done in commit 2c9fe12. Added comprehensive container management to the admin panel: Features:
Implementation:
The container management UI shows:
All container operations are logged and include confirmation dialogs for safety. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: tayyebi <14053493+tayyebi@users.noreply.github.com>
Eliminate Makefile requirement. Project now starts with
docker compose up -dwith zero manual steps. All domain/DKIM operations and container management moved to web admin panel.Changes
Removed
Admin Panel: DKIM Management
New
DkimServicefor RSA key generation:Routes added:
GET /domains/{domain}/dkim- View DKIM config and DNS instructionsPOST /domains/{domain}/dkim- Generate/regenerate keysReplaces
make add-domainandmake show-dkim.Admin Panel: Container Management
New
ContainerControllerfor Docker container operations:com.mailserver.rolelabelRoutes added:
GET /containers- Container dashboardPOST /containers/restart- Restart containerPOST /containers/stop- Stop containerPOST /containers/start- Start containerGET /containers/{container}/logs- View logsDocker Integration:
/var/run/docker.sock:ro(read-only)Replaces manual
docker logs,docker restart,docker stop/startcommands.Automatic Initialization
Init container (
docker-init.sh):openssldata/ssl,data/mail, etc.)Admin entrypoint (
admin/docker/entrypoint.sh):openssl rand -base64 32Docker Compose
Added
initservice (debian:bookworm-slim) that runs once before other services. Removed obsoleteversionfield. Fixed postfix/admin Dockerfiles (missing dependencies, non-existent file copies).Documentation
README rewritten for Docker-only workflow. Installation is now:
All configuration and management through
https://host/admin.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.