Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: AlexWaha/dockdev

1.2.0

14 May 00:31
@AlexWaha AlexWaha

Choose a tag to compare

🚀 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.bat build script now can:
    • Init go, installs dependencies, builds the binary

🐛 Bug Fixes

  • Improved error handling when directories like logs/, certs/, or sites/ 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.mod and go.sum.
Assets 2
Loading

1.1.1

03 May 08:51
@AlexWaha AlexWaha

Choose a tag to compare

🚀 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 PRIVILEGES for the configured ${MYSQL_USER}
      • Ensures consistent DB access without relying on entrypoint scripts or volume states
  • 📦 Template-Based Shared Services

    • shared-services/docker-compose.yml is now fully generated from a .tmpl template
    • Respects global .env values (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
  • 💥 Fallback Removal with sudo rm -rf

    • If the script fails to delete the domain folder, a fallback via sudo is attempted

🛠 Improvements

  • ✅ Added InsertIPMappingAtTop() to ensure shared-mysql is 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 .env contains valid MYSQL_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.

Loading

1.0.0

02 May 05:42
@AlexWaha AlexWaha

Choose a tag to compare

🚀 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 hosts file
  • 🗃 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 templates
  • shared-services/ — reverse proxy and shared MySQL
  • domains/ — per-project isolated Docker apps
  • dist/ — 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
Loading

AltStyle によって変換されたページ (->オリジナル) /