ran update.sh
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-09-23 11:41:34 -03:00
parent e3cbe7bac8
commit ef113904ad
3 changed files with 69 additions and 0 deletions

View File

@ -33,6 +33,9 @@ RUN set -ex; \
php-memcached \ php-memcached \
php-redis \ php-redis \
php-imagick \ php-imagick \
php-xml \
php-mbstring \
php-curl \
; \ ; \
\ \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -101,6 +104,18 @@ RUN \
'{ \ '{ \
"listeners": { "*:9000": { "pass": "routes" } }, \ "listeners": { "*:9000": { "pass": "routes" } }, \
"routes": [ \ "routes": [ \
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
{ "action": { "pass": "applications/index_php" } } \ { "action": { "pass": "applications/index_php" } } \
], \ ], \
"applications": { \ "applications": { \
@ -111,6 +126,14 @@ RUN \
"group": "www-data", \ "group": "www-data", \
"root": "/var/www/html", \ "root": "/var/www/html", \
"script": "index.php" \ "script": "index.php" \
}, \
"direct_php": { \
"type": "php", \
"processes": { "max": 5, "spare": 0 }, \
"user": "www-data", \
"group": "www-data", \
"root": "/var/www/html", \
"index": "index.php" \
} \ } \
} \ } \
}' \ }' \

View File

@ -33,6 +33,9 @@ RUN set -ex; \
php-memcached \ php-memcached \
php-redis \ php-redis \
php-imagick \ php-imagick \
php-xml \
php-mbstring \
php-curl \
; \ ; \
\ \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -101,6 +104,18 @@ RUN \
'{ \ '{ \
"listeners": { "*:9000": { "pass": "routes" } }, \ "listeners": { "*:9000": { "pass": "routes" } }, \
"routes": [ \ "routes": [ \
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
{ "action": { "pass": "applications/index_php" } } \ { "action": { "pass": "applications/index_php" } } \
], \ ], \
"applications": { \ "applications": { \
@ -111,6 +126,14 @@ RUN \
"group": "www-data", \ "group": "www-data", \
"root": "/var/www/html", \ "root": "/var/www/html", \
"script": "index.php" \ "script": "index.php" \
}, \
"direct_php": { \
"type": "php", \
"processes": { "max": 5, "spare": 0 }, \
"user": "www-data", \
"group": "www-data", \
"root": "/var/www/html", \
"index": "index.php" \
} \ } \
} \ } \
}' \ }' \

View File

@ -33,6 +33,9 @@ RUN set -ex; \
php-memcached \ php-memcached \
php-redis \ php-redis \
php-imagick \ php-imagick \
php-xml \
php-mbstring \
php-curl \
; \ ; \
\ \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -101,6 +104,18 @@ RUN \
'{ \ '{ \
"listeners": { "*:9000": { "pass": "routes" } }, \ "listeners": { "*:9000": { "pass": "routes" } }, \
"routes": [ \ "routes": [ \
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
{ "action": { "pass": "applications/index_php" } } \ { "action": { "pass": "applications/index_php" } } \
], \ ], \
"applications": { \ "applications": { \
@ -111,6 +126,14 @@ RUN \
"group": "www-data", \ "group": "www-data", \
"root": "/var/www/html", \ "root": "/var/www/html", \
"script": "index.php" \ "script": "index.php" \
}, \
"direct_php": { \
"type": "php", \
"processes": { "max": 5, "spare": 0 }, \
"user": "www-data", \
"group": "www-data", \
"root": "/var/www/html", \
"index": "index.php" \
} \ } \
} \ } \
}' \ }' \