[DEPRECATED] minimal Alpine based image with apache2 and php-fpm82
914
minimal alpine based image with apache2 and php-fpm82
.env file get bypassed by manually set environment variables from portainer gui
Github: https://github.com/braingremlin85/docker-apache2-php82-fpm
sudo docker buildx build --platform linux/amd64,linux/arm64 -t braingremlin/apache2-php82-fpm:latest -t braingremlin/apache2-php82-fpm:V --push .
PHP Xdebug (https://xdebug.org/) is installed but not enabled by default
Use environment variable
XDEBUG=true
to enable
If you are using a reverse proxy on the same container environment you should set a common network for the proxy and all the proxied services, so you can access those services directly by docker internal network using the container name, i.e.:
http://mycontainer:80
to connect use the EXPOSED port not the PUBLISHED!
services:
mycontainer:
container_name: mycontainer
.
.
.
networks:
- npm-bridge
ports:
- ${EXTERNAL_PORT:-8888}:80 # use 80 instead of EXTERNAL_PORT to access this service from internal docker network
networks:
npm-bridge:
name: npm_bridge
Content type
Image
Digest
sha256:b9b02d5ec…
Size
34.7 MB
Last updated
12 months ago
docker pull braingremlin/apache2-php82-fpm