General fixes
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
chown -R mysql:mysql /run/mysql
|
|
||||||
chown -R mysql:mysql /var/lib/mysql
|
|
||||||
|
|
||||||
/bin/sh /entrypoint/install-packages.sh
|
/bin/sh /entrypoint/install-packages.sh
|
||||||
|
|
||||||
|
chown -R mysql:mysql /run/mysqld
|
||||||
|
chown -R mysql:mysql /var/lib/mysql
|
||||||
|
|
||||||
service mariadb start
|
service mariadb start
|
||||||
|
|
||||||
# Run the CMD that was passed (or default)
|
# Run the CMD that was passed (or default)
|
||||||
|
@@ -14,6 +14,7 @@ RUN /bin/sh /tmp/buildtime/buildtime_php_ver_inst.sh
|
|||||||
ENV DEF_PHP_INTERPRETER="8.2"
|
ENV DEF_PHP_INTERPRETER="8.2"
|
||||||
|
|
||||||
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
||||||
|
COPY project/entrypoint/copy-config.sh /entrypoint/copy-config.sh
|
||||||
COPY project/entrypoint/container-php-ver-inst.sh /entrypoint/container-php-ver-inst.sh
|
COPY project/entrypoint/container-php-ver-inst.sh /entrypoint/container-php-ver-inst.sh
|
||||||
COPY project/entrypoint/install-php-versions.sh /entrypoint/install-php-versions.sh
|
COPY project/entrypoint/install-php-versions.sh /entrypoint/install-php-versions.sh
|
||||||
COPY project/entrypoint/start-php-fpm.sh /entrypoint/start-php-fpm.sh
|
COPY project/entrypoint/start-php-fpm.sh /entrypoint/start-php-fpm.sh
|
||||||
|
4
multi-php-fpm-srv/project/entrypoint/copy-config.sh
Normal file
4
multi-php-fpm-srv/project/entrypoint/copy-config.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Copy all .conf files from source to destination
|
||||||
|
cp /mnt/place-config/etc/php/8.2/fpm/pool.d/*.conf /etc/php/8.2/fpm/pool.d/
|
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
/bin/sh /entrypoint/container-php-ver-inst.sh
|
/bin/sh /entrypoint/container-php-ver-inst.sh
|
||||||
/bin/sh /entrypoint/install-php-versions.sh
|
/bin/sh /entrypoint/install-php-versions.sh
|
||||||
|
/bin/sh /entrypoint/copy-config.sh
|
||||||
|
|
||||||
/bin/sh /entrypoint/start-php-fpm.sh
|
/bin/sh /entrypoint/start-php-fpm.sh
|
||||||
|
|
||||||
|
23
nginx-srv/www/html/index.nginx-debian.html
Normal file
23
nginx-srv/www/html/index.nginx-debian.html
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Welcome to nginx!</title>
|
||||||
|
<style>
|
||||||
|
html { color-scheme: light dark; }
|
||||||
|
body { width: 35em; margin: 0 auto;
|
||||||
|
font-family: Tahoma, Verdana, Arial, sans-serif; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Welcome to nginx!</h1>
|
||||||
|
<p>If you see this page, the nginx web server is successfully installed and
|
||||||
|
working. Further configuration is required.</p>
|
||||||
|
|
||||||
|
<p>For online documentation and support please refer to
|
||||||
|
<a href="http://nginx.org/">nginx.org</a>.<br/>
|
||||||
|
Commercial support is available at
|
||||||
|
<a href="http://nginx.com/">nginx.com</a>.</p>
|
||||||
|
|
||||||
|
<p><em>Thank you for using nginx.</em></p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in New Issue
Block a user