Nginx Reserve Proxy Based on Alpine Linux
460
Build Docker Image with Nginx + PHP-FPM + MariaDB Galera + Redis
By default, Nginx Reserve Proxy currently only add 2 links. If you want to add another link, you can re-create the docker images to suit your needs. To replace the default link, you can input environment in your docker run or docker stack.
--env SERVER_PERTAMA="Your First Link"
--env SERVER_PERTAMA="Your Second Link"
or
-e SERVER_PERTAMA="Your First Link"
-e SERVER_PERTAMA="Your Second Link"
Default Open Port is 8080, if you want to change open port add to environment like this
--env PORT_NGINX="PORT NUMBER"
or
-e PORT_NGINX="PORT NUMBER"
Default PHP using PHP 7. If you want to change default PHP simple to add environment like this
--env PHPVERSION "Version"
or
-e PHPVERSION "Version"
Default Module PHP
If you want to change PHP Module, simple to add environment while you running container.
--env PHPMODULE=php${PHPVERSION} \
--env PHPMODULE=php${PHPVERSION}-"Module"
or
-e PHPMODULE=php${PHPVERSION} \
-e PHPMODULE=php${PHPVERSION}-"Module"
Content type
Image
Digest
Size
4.1 MB
Last updated
over 7 years ago
docker pull modinbah/nginx_reverse-proxy