All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add mt/mailpit.yml
Enable to start MailPit service by the following command.
$ make up-psgi DOCKER_COMPOSE_USER_YAML="-f mt/mailpit.yml"
- Enable to specify build command for each plugin
mt-plugin-MTBlockEditor:
location: git@github.com:movabletype/mt-plugin-MTBlockEditor
branch: develop
build:
command:
- docker-compose
- run
- builder
- bash
- -c
- 'perl Makefile.PL && make build'
- Run
CREATE DATABASE IF NOT EXISTS
only whenDatabase
is specified inmt-config.cgi
.
As shown below, when "archive" is specified by a recipe and "ARCHIVE" is specified by a command line at the same time, the command line has priority over the recipe.
mt-plugin-MTBlockEditor:
archive:
url: https://github.com/movabletype/mt-plugin-MTBlockEditor/releases/download/v1.1.10/MTBlockEditor-1.1.10.tar.gz
integrity: sha512-VCrI5B/cv4FAEV7O9GPOsJGEATwRcw4GqjVCWZiMPSkC9jx2l0kjnTXl6M2Xvv/x6THnPQj9VgxX9B0MG7a25g==
$ make up RECIPE=8.0.0-dp ARCHIVE=MTBlockEditor-1.1.11.tar.gz
In "mt" container, "httpd" or "psgi" listens on port 80, so specifying MT_EXPOSE_PORT will allow access to port 80 of the "mt" container from the port number specified in the host environment MT_EXPOSE_PORT.
$ make up-psgi MT_EXPOSE_PORT=5002
- Fix compatibility issue, again.
- mt-dev now works in environments with Digest modules older than 1.17.
- Introduce UPDATE_DOCKER_IMAGE environment variable.
- Setting this environment variable to "no" will skip updating the Docker image during
make up
.
- Setting this environment variable to "no" will skip updating the Docker image during
- ARCHIVE can now be specified in the recipe yaml file.
- Specify url and integrity in the following format
mt-plugin-MTBlockEditor:
archive:
url: https://github.com/movabletype/mt-plugin-MTBlockEditor/releases/download/v1.1.10/MTBlockEditor-1.1.10.tar.gz
integrity: sha512-VCrI5B/cv4FAEV7O9GPOsJGEATwRcw4GqjVCWZiMPSkC9jx2l0kjnTXl6M2Xvv/x6THnPQj9VgxX9B0MG7a25g==
- Refactored Dockerfile for mt-watcher.
- Ensure that binaries with the appropriate architecture are installed even if BuildKit is disabled.
- Reduced image size by using "perl:*-slim" images.
- Add workaround to run amd64 image on arm64.
- Can now be lunched in an arm64 environment.
- Ignore errors when deleting temporary files.
- Use the
--pull
option to always use the latest image. - Accept "/" and "-" in branch names specified in
REPO
.
- Fixed an error with old docker-compose.
- Added support for specifying the cpanfile to be referenced at startup with DOCKER_MT_CPANFILES.
- The default value is t/cpanfile.
- CGIPath and StaticWebPath can now be specified relative to the host.
- The database specified in mt-config.cgi is now automatically created if it does not exist.
- If you do not want to create it automatically, you can skip this behavior by specifying
CREATE_DATABASE_IF_NOT_EXISTS=no
.
- If you do not want to create it automatically, you can skip this behavior by specifying
- In the Vagrant environment, we have added a setting to forward the host's port to the guest.
- The default value is 5825, which can be accessed at http://localhost:5825/cgi-bin/mt/mt.cgi.
- You can change this value with the
VM_VB_HTTP_PORT
orHTTPD_EXPOSE_PORT
environment variables.
You can launch the container with customizations of your choice. And the development container configuration for Visual Studio Code is included by default.
$ make up-psgi ... DOCKER_MT_DOCKERFILE=Dockerfile.devcontainer REPO="$HOME/src/github.com/username/mt-plugin-AwesomePlugin"
Docker for Mac has slow file access on bind mounts, but if you use a dev container, using :delegated may improve the situation.
$ make up-psgi ... DOCKER_VOLUME_MOUNT_FLAG=delegated
- Also skip
git fetch
when "$UPDATE_BRANCH" is "no". - Rename environment variable DOCKER_COMPOSE_YML_MIDDLEWARES to DOCKER_COMPOSE_YAML_MIDDLEWARES
- Change default private network.
- Enable to start service via.
- e.g. DOCKER_MT_SERVICES=postfix
- Support docker-compose 2.x
- Also watch the plugin directory specified by REPO.
- Stop passing the -R option
- Stop passing the "-L Shotgun", because it is different from the option in general production environment.
- Added a container to monitor file updates and send a HUP signal to starman.
- Enable mod_include by default.
- You can use SSI just choose "Apache Server-Side Include" in MT.
- Improved stability when REPO is specified.
- Enable to use both RECIPE and ARCHIVE at the same time
- Fixed a bug when downloading multiple archives.
- Also link automatically "tools/*" of each plugins.
- Enable to override branch by REPO
- e.g. REPO="git@github.com:movabletype/movabletype#topic-branch"
- Also prevent running
make clean me
whenUPDATE_BRANCH=no
is specified. - Invoke
apt
with DEBIAN_FRONTEND=noninteractive in provisioning.
- Enable to specify branch by "#" in REPO
- e.g. REPO="https://github.com/user/mt-plugin-XXX.git#main"
- Enable to specify branch by PR parameter
- e.g. PR="movabletype/movabletype#1527"
- Support relative CGIPath/StaticWebPath.
- Specify NLS_LANG for suppoting Oracle Database.
- BUILD_ID is now updated every time.
- Bind mt-dev directory to /mt-dev.
- Use movabletype/test instead of movabletype/dev for docker image.
- We don't need to build php-5.3 as it can be verified on CentoOS 6.
- Renewal local-repo feature as repo feature.
- Enable to specify GIT URL to REPO variable.
- Enable to specify ARCHIVE URL to ARCHIVE variable.
- Removed "init-repo" target that doesn't needed.
- Renewal ext-repos feature as local-repo feature.
- Added support for prefixed themes/plugin in the repository
- Add ext-repos feature.
- Add cpan-install / cpan-uninstall command
- Add cp-R command
- Avoid errors in theme export
- Extend timeout for waiting response from MT at httpd.
- Fix typo.
- Support shourtcut for perl/php/db docker image.
- Enable to invoke ./tools/*.pl by
vagrant mt-dev mt-shell
.
- Improve packup command wrapper.
- Execute /usr/sbin/php-fpm on httpd container if available.
- Use NFS for synced_folder on Mac.
- Invoke
docker-compose pull
before eachdocker-compose up
. - Invoke
make me
before run.
- Enable to keep the current branch.
- Tweaks .env file feature.
- Support VSCode Remote Development
- Run starman with the auto reload option.
- Enable to specify both RECIPE and ARCHIVE.
$ vagrant mt-dev up ARCHIVE=MTA7-R4605.tar.gz RECIPE=shared-preview
- Update default software versions.
- Perl : 5.28
- PHP : 7.3
- DB : MySQL 5.7
- Support multiple recipes.
$ vagrant mt-dev up RECIPE=7.2,shared-preview
- Support custom mt-config.cgi
$ vagrant mt-dev up RECIPE=7.2 MT_CONFIG_CGI=mt-config.cgi-7.2
- Fix repository pull bug.
Initial release