tighten / takeout

Docker-based development-only dependency manager. macOS, Linux, and WSL2-only and installs via PHP's Composer... for now.
MIT License
1.59k stars 83 forks source link

Adds a `--run` option to the enable command #304

Closed tonysm closed 1 year ago

tonysm commented 1 year ago

Changed

Added


This is how we can use this:

takeout enable mysql --run="--restart unless-stopped -e 'LOREM=IPSUM'" -- -h127.0.0.1 -usome-user

This will be translated to a docker command like this:

docker run --restart unless-stopped -e 'LOREM=IPSUM' {service-options} mysql -h127.0.0.1 -usome-user

where {service-options} depends on the options defined in the service class.