Fix host_ports/ports in Apache/NGINX Dockerfiles
This commit is contained in:
parent
6e862868ae
commit
39611bec41
|
@ -1,7 +1,7 @@
|
|||
FROM httpd:2.4-alpine
|
||||
|
||||
ENV CKAN_PORT_HOST=5000
|
||||
ENV PYCSW_PORT_HOST=8000
|
||||
ENV CKAN_PORT=5000
|
||||
ENV PYCSW_PORT=8000
|
||||
ENV PYCSW_CONTAINER_NAME=pycsw
|
||||
ENV CKAN_CONTAINER_NAME=ckan
|
||||
ENV APACHE_PORT=80
|
||||
|
@ -12,8 +12,8 @@ ENV PROXY_SERVER_NAME=localhost
|
|||
|
||||
ENV PROXY_CKAN_LOCATION=/catalog
|
||||
ENV PROXY_PYCSW_LOCATION=/csw
|
||||
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_CONTAINER_NAME}:${PYCSW_PORT_HOST}
|
||||
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT_HOST}
|
||||
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_CONTAINER_NAME}:${PYCSW_PORT}
|
||||
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT}
|
||||
|
||||
RUN mkdir -p ${APACHE_LOG_DIR}
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
FROM nginx:stable-alpine
|
||||
|
||||
ENV CKAN_PORT_HOST=5000
|
||||
ENV PYCSW_PORT_HOST=8000
|
||||
ENV CKAN_PORT=5000
|
||||
ENV PYCSW_PORT=8000
|
||||
ENV PYCSW_CONTAINER_NAME=pycsw
|
||||
ENV CKAN_CONTAINER_NAME=ckan
|
||||
ENV PROXY_SERVER_NAME=localhost
|
||||
ENV PROXY_CKAN_LOCATION=/catalog
|
||||
ENV PROXY_PYCSW_LOCATION=/csw
|
||||
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_CONTAINER_NAME}:${PYCSW_PORT_HOST}
|
||||
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT_HOST}
|
||||
ENV PROXY_PYCSW_PROXY_PASS=http://${PYCSW_CONTAINER_NAME}:${PYCSW_PORT}
|
||||
ENV PROXY_CKAN_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT}
|
||||
|
||||
ENV NGINX_PORT=80
|
||||
ENV NGINX_LOG_DIR=/var/log/nginx
|
||||
|
|
Loading…
Reference in New Issue