Renamed config file

master
Ionut Filip 6 years ago
parent 211136f9b1
commit 2dcaf5ed31

@ -27,7 +27,7 @@ RUN apt-get update && apt-get install -y \
COPY include.php /var/www/html/include.php COPY include.php /var/www/html/include.php
COPY php.ini /php.ini COPY php.ini /php.ini
COPY config.ini /config.ini COPY application.ini /application.ini
COPY default.ini /default.ini COPY default.ini /default.ini
COPY start.py /start.py COPY start.py /start.py

@ -15,5 +15,5 @@ function __get_custom_data_full_path()
*/ */
function __get_additional_configuration_name() function __get_additional_configuration_name()
{ {
return 'config.ini'; return 'application.ini';
} }

@ -20,7 +20,7 @@ os.makedirs(base + "domains", exist_ok=True)
os.makedirs(base + "configs", exist_ok=True) os.makedirs(base + "configs", exist_ok=True)
convert("/default.ini", "/data/_data_/_default_/domains/default.ini") convert("/default.ini", "/data/_data_/_default_/domains/default.ini")
convert("/config.ini", "/data/_data_/_default_/configs/config.ini") convert("/application.ini", "/data/_data_/_default_/configs/application.ini")
convert("/php.ini", "/usr/local/etc/php/conf.d/rainloop.ini") convert("/php.ini", "/usr/local/etc/php/conf.d/rainloop.ini")
os.system("chown -R www-data:www-data /data") os.system("chown -R www-data:www-data /data")

Loading…
Cancel
Save