PMA Conf
This commit is contained in:
parent
3b4cd5c128
commit
ac2fde70c7
24
app/1mindeploy/phpmyadmin.conf
Normal file
24
app/1mindeploy/phpmyadmin.conf
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# phpMyAdmin default Apache configuration
|
||||||
|
|
||||||
|
Alias /phpmyadmin /usr/share/phpmyadmin
|
||||||
|
|
||||||
|
<Directory /usr/share/phpmyadmin>
|
||||||
|
Options SymLinksIfOwnerMatch
|
||||||
|
DirectoryIndex index.php
|
||||||
|
|
||||||
|
# limit libapache2-mod-php to files and directories necessary by pma
|
||||||
|
<IfModule mod_php7.c>
|
||||||
|
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
|
||||||
|
php_admin_value open_basedir /usr/share/phpmyadmin/:/usr/share/doc/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/:/usr/share/javascript/
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
# Disallow web access to directories that don't need it
|
||||||
|
<Directory /usr/share/phpmyadmin/templates>
|
||||||
|
Require all denied
|
||||||
|
</Directory>
|
||||||
|
<Directory /usr/share/phpmyadmin/libraries>
|
||||||
|
Require all denied
|
||||||
|
</Directory>
|
||||||
|
|
@ -14,7 +14,7 @@ COPY app/SabrehavenServer /home/tibia/SabrehavenServer
|
|||||||
COPY app/1mindeploy /home/tibia/1mindeploy
|
COPY app/1mindeploy /home/tibia/1mindeploy
|
||||||
RUN chown -R tibia:tibia /home/tibia && chown -R www-data:www-data /var/www/ZnoteAAC
|
RUN chown -R tibia:tibia /home/tibia && chown -R www-data:www-data /var/www/ZnoteAAC
|
||||||
|
|
||||||
RUN chown -R tibia:tibia /home/tibia && chmod a+x /home/tibia/1mindeploy/DBCI.sh && service mariadb start && /home/tibia/1mindeploy/DBCI.sh
|
RUN chown -R tibia:tibia /home/tibia && chmod a+x /home/tibia/1mindeploy/*.sh && service mariadb start && /home/tibia/1mindeploy/DBCI.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/home/tibia/1mindeploy/entrypoint.sh"]
|
ENTRYPOINT ["/home/tibia/1mindeploy/entrypoint.sh"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user