File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,3 +3,6 @@ services:
33 mt :
44 restart : always
55 command : " /usr/sbin/httpd -D FOREGROUND"
6+
7+ mt-watcher :
8+ command : " /bin/true"
Original file line number Diff line number Diff line change @@ -38,7 +38,16 @@ services:
3838 command : apache2-foreground
3939
4040 mt-watcher :
41- image : busybox
41+ build :
42+ context : mt-watcher
43+ working_dir : /var/www/cgi-bin/mt
44+ environment :
45+ PERL_FNS_NO_OPT : ${PERL_FNS_NO_OPT:-0}
46+ DISABLE_MT_WATCHER : ${DISABLE_MT_WATCHER:-0}
47+ volumes :
48+ - " ${MT_HOME_PATH:-../../movabletype}:/var/www/cgi-bin/mt"
49+ - " ./mt-watcher.pl:/usr/local/lib/mt/bin/mt-watcher.pl"
50+ - /var/run/docker.sock:/var/run/docker.sock
4251
4352volumes :
4453 site :
Original file line number Diff line number Diff line change @@ -7,16 +7,6 @@ services:
77 MT_PID_FILE_PATH : ${MT_PID_FILE_PATH:-/tmp/mt.psgi.pid}
88 volumes :
99 - " ./plackup-mt:/usr/local/lib/mt/bin/plackup-mt"
10+
1011 mt-watcher :
11- build :
12- context : mt-watcher
13- image : movabletype/mt-watcher
14- working_dir : /var/www/cgi-bin/mt
1512 command : /usr/local/lib/mt/bin/mt-watcher.pl
16- environment :
17- PERL_FNS_NO_OPT : ${PERL_FNS_NO_OPT:-0}
18- DISABLE_MT_WATCHER : ${DISABLE_MT_WATCHER:-0}
19- volumes :
20- - " ${MT_HOME_PATH:-../../movabletype}:/var/www/cgi-bin/mt"
21- - " ./mt-watcher.pl:/usr/local/lib/mt/bin/mt-watcher.pl"
22- - /var/run/docker.sock:/var/run/docker.sock
You can’t perform that action at this time.
0 commit comments