This image includes: S3fs for use with S3 AWS / Remote Storage.
Nginx for HTTP Server (1.23.3 - Compiled with jemalloc).
PHP 7.4.33 (compiled to static binary)
Telegraf to collect data for Grafana
ProxySQL to use in the application.
Htop (speed up diagnosis to find performance problems). swudp. crond (cronie/crontab).
How this works:
In the /usr/local/etc/startup_commands file there is a shell script that monitors the services every 5 seconds.
If any service goes down, it starts a new process.
Here we can pass other apps too. the /usr/local/bin/iniciar (cmd from docker) make a chmod +x on this file, executing like a script.
Other places to replace the config or files:
/etc/telegraf/telegraf.conf /var/www/html/ /etc/nginx/nginx.conf /etc/etc/proxysql.cnf . /etc/crontab
On /usr/local/etc/montar_s3_cliente you have the sintax command to be used on s3.
The php.ini can be place on /usr/local/lib/
Timezone -> /etc/profile.
To run this container: docker run -d -p 8081:80 --cap-add SYS_TIME --name "Test" -t cloudunix/clearlinux-php74:v15112022-5
When connect on http://ip:8081 will be displayed a phpinfo.
Content type
Image
Digest
sha256:2716ab5a2…
Size
474.7 MB
Last updated
almost 4 years ago
docker pull cloudunix/clearlinux-php74:RELEASE-16112022