Sign inSign up

firstruner/sphinx_light

By firstruner

•Updated almost 2 years ago

Light web container with PHP activation. Tags are linked with PHP version. Uncompressed size < 56Mb

Image
Developer tools
Web servers
0

342

firstruner/sphinx_light repository overview

⁠Sphinx

Hi, Sphinx Light is a web server container with PHP activation inside

xx.xx in this doc is the version tag, default is 'latest' yyyy is public container port

⁠Licence

This image use GNU-GCC licence describe in /usr/share/nginx/lic.html, with http://127.0.0.1/lic.html⁠ or http://[Container_IP]/lic.html

⁠Usage

Port 80 was the only one available port on start

Webpage are by default in /usr/share/nginx/html folder

Is necessary, add env variable on running

⁠Pulling

docker pull firstruner/sphinx:xx.xx

⁠Run container

docker run -d -p yyyy:80 firstruner/sphinx:xx.xx
⁠Running chain

In first, the start script install packages specified in INSTALL_APP env variable, then the script execute BEFORE_SCRIPT_ONCE env variable before execute BEFORE_SCRIPT.

For finalize, the start script run BEFORE_START_ONCE env variable and then EXECUTE_START env variable.

⁠Environment variables

INSTALL_APP : Specify packages list BEFORE_SCRIPT_ONCE : Script execute one time in container life and before run Sphinx services BEFORE_SCRIPT : Script execute before run Sphinx service BEFORE_START_ONCE : Script execute one time in container life and just before run Sphinx web services BEFORE_START : Script execute just before run Sphinx web service

⁠Additionnals environment variables

SHOW_SCRIPT_OUTPUT : Show or hide output of main env variables (default : 0) DO_NOT_CLEAR_OUTPUT : Clear or not console on container starting (default : 0)

⁠Additionnals Packages

⁠Log Files

/var/install_app.log Log for additionals installation packages with INSTALL_APP
/var/before_script.log Log for BEFORE_SCRIPT execution (Append Mode)
/var/before_script_once.log Log for BEFORE_SCRIPT_ONCE execution
/var/before_start.log Log for BEFORE_START execution (Append Mode)
/var/before_start_once.log Log for BEFORE_START_ONCE execution

Tag summary

Content type

Image

Digest

sha256:a1563210b…

Size

21.6 MB

Last updated

almost 2 years ago

docker pull firstruner/sphinx_light