Releases: AlexWaha/dockdev
Releases · AlexWaha/dockdev
1.2.0
🚀 DockDev v1.2.0 — Release Notes
🎉 New Features
-
SSL Support
- Automatic generation of reverse proxy configs with SSL.
- Domain certificates are stored under
shared-services/certs/. - Certificates are properly removed from disk and Windows trust store when a project is deleted.
-
Improved Project Structure
- Clean separation of templates and runtime files.
- Simplified project generation logic and configuration flow.
-
Build & Deploy Tooling
build.batbuild script now can:- Init go, installs dependencies, builds the binary
🐛 Bug Fixes
- Improved error handling when directories like
logs/,certs/, orsites/are missing. - Better diagnostics and CLI output when generating projects or certificates.
⚙️ Dependency Updates
- Updated Go module dependencies (
godotenv,x/term, etc.). - Cleaned up
go.modandgo.sum.
1.1.1
🚀 Release v1.1.0 – Improved MySQL Management & Template Handling
🎉 New Features
-
🔐 Automatic MySQL Permission Granting via script
- After starting
shared_mysql, the CLI now:- Waits for MySQL readiness via
SELECT 1 - Executes
GRANT ALL PRIVILEGESfor the configured${MYSQL_USER} - Ensures consistent DB access without relying on entrypoint scripts or volume states
- Waits for MySQL readiness via
- After starting
-
📦 Template-Based Shared Services
shared-services/docker-compose.ymlis now fully generated from a.tmpltemplate- Respects global
.envvalues (network, MySQL credentials, IPs) - Allows consistent setup from a script without relying on Compose’s built-in interpolation
-
🗃 Structured Templates
- Shared templates are moved to
templates/shared-services/ - This improves modularity and avoids polluting the root directory
- Shared templates are moved to
-
💥 Fallback Removal with
sudo rm -rf- If the script fails to delete the domain folder, a fallback via
sudois attempted
- If the script fails to delete the domain folder, a fallback via
🛠 Improvements
- ✅ Added
InsertIPMappingAtTop()to ensureshared-mysqlis always in.ipmap.env - 🧱 Added Nginx+fastcgiphp config
- 📂 Auto-creates required directories before writing template files
- 🧰 Improved debugging messages and container startup clarity
⚠️ Notes
- This release deprecates using init.sql inside the container
- Instead, all MySQL setup happens post-start via Docker exec
- Make sure
.envcontains validMYSQL_ROOT_PASSWORD,MYSQL_USER,MYSQL_PASSWORD
✅ Example .env updates:
NETWORK_NAME=local_net
SUBNET=10.0.100.0/24
REVERSE_PROXY_IP=10.0.100.2
SHARED_MYSQL_IP=10.0.100.11
PROJECT_START_IP=10.0.100.20
MYSQL_ROOT_PASSWORD=root
MYSQL_USER=user
MYSQL_PASSWORD=userpass💡 This update makes DockDev significantly more robust and environment-agnostic, especially when run under WSL2 on Windows.
1.0.0
🚀 DockDev v1.0.0
The first stable release of DockDev — a CLI tool for managing Docker-based development environments with automatic reverse proxy, static IP mapping, and Windows hosts integration.
✅ Features
- 🔧 Create isolated Docker projects with NGINX, PHP, Redis, Node and more
- 🌐 Reverse proxy configuration auto-generated per domain
- 🌍 Custom domain access via
.local,.test, etc - 🧠 Static IP assignment stored in
.ipmap.env - 🪟 Automatically updates
Windows hostsfile - 🗃 Includes shared MySQL container accessible from any dev project
- 🔄 Auto-reloads NGINX or restarts on failure
🧱 Structure
src/— source code (Go)templates/— reusable Docker/NGINX config templatesshared-services/— reverse proxy and shared MySQLdomains/— per-project isolated Docker appsdist/— built binaries
💻 Platform Compatibility
| Platform | Status |
|---|---|
| Windows 10/11 + WSL2 | ✅ Recommended |
📥 Installation
Use the dockdev binary from the dist/ folder, or compile it yourself using:
GOOS=linux GOARCH=amd64 go build -o dockdev ./cmd