File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN apk add --no-cache nginx gettext \
2323 && chmod -R 777 /var/www/html /run/nginx /var/cache/nginx /var/log/nginx \
2424 && sed -i 's|^listen = .*|listen = 127.0.0.1:9000|' /usr/local/etc/php-fpm.d/www.conf
2525
26- ENV PCA_NGINX_PORT=8080
26+ ENV PCA_NGINX_PORT=80
2727
2828# NGINX config template
2929RUN printf 'server {\n \
@@ -41,8 +41,6 @@ RUN printf 'server {\n\
4141 }\n \
4242}\n ' > /etc/nginx/http.d/default.conf.template
4343
44- EXPOSE 8080
45-
4644CMD envsubst '${PCA_NGINX_PORT}' < /etc/nginx/http.d/default.conf.template > /etc/nginx/http.d/default.conf \
4745 && php-fpm -D \
4846 && nginx -g 'daemon off;'
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ A Docker image is also available: https://hub.docker.com/r/robinn/phpcacheadmin
100100Run with a single command:
101101
102102``` bash
103- docker run -p 8080:8080 -d --name phpcacheadmin -e " PCA_REDIS_0_HOST=redis_host" -e " PCA_REDIS_0_PORT=6379" -e " PCA_MEMCACHED_0_HOST=memcached_host" -e " PCA_MEMCACHED_0_PORT=11211" robinn/phpcacheadmin
103+ docker run -p 8080:80 -d --name phpcacheadmin -e " PCA_REDIS_0_HOST=redis_host" -e " PCA_REDIS_0_PORT=6379" -e " PCA_MEMCACHED_0_HOST=memcached_host" -e " PCA_MEMCACHED_0_PORT=11211" robinn/phpcacheadmin
104104```
105105
106106Or use it in ** docker-compose.yml**
@@ -110,7 +110,7 @@ services:
110110 phpcacheadmin :
111111 image : robinn/phpcacheadmin
112112 ports :
113- - " 8080:8080 "
113+ - " 8080:80 "
114114 # volumes:
115115 # If you want to use config.php instead of ENV variables
116116 # - "./config.php:/var/www/html/config.php"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ services:
22 phpcacheadmin :
33 build : .
44 ports :
5- - " 8080:8080 "
5+ - " 8080:80 "
66 volumes :
77 - " ./:/var/www/html/"
88 environment :
You can’t perform that action at this time.
0 commit comments