File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ### Added
10+
11+ * Enable to start service via.
12+ * e.g. DOCKER\_ MT\_ SERVICES=postfix
13+
914### Fixed
1015
1116* Also watch the plugin directory specified by REPO.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ DOCKER_MYSQL_IMAGE=${DB}
2323endif
2424
2525export DOCKER_MT_IMAGE
26+ export DOCKER_MT_SERVICES
2627export DOCKER_HTTPD_IMAGE
2728export DOCKER_MYSQL_IMAGE
2829export DOCKER_MEMCACHED_IMAGE
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ services:
88 environment :
99 NLS_LANG : ${NLS_LANG:-Japanese_Japan.UTF8}
1010 MT_DEV_UPDATE_BRANCH : ${UPDATE_BRANCH:-yes}
11+ DOCKER_MT_SERVICES : ${DOCKER_MT_SERVICES}
1112 volumes :
1213 - " ..:/mt-dev"
1314 - " ${MT_HOME_PATH:-../../movabletype}:/var/www/cgi-bin/mt"
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ if [ -n " $DOCKER_MT_SERVICES " ]; then
4+ for s in $DOCKER_MT_SERVICES ; do
5+ service $s start
6+ done
7+ fi
8+
39chmod 777 /var/www/html
410chmod 777 /var/www/cgi-bin/mt/mt-static/support
511chmod 777 /var/www/cgi-bin/mt/themes
You can’t perform that action at this time.
0 commit comments