blackbirdchess-docker-dev/apache2/Dockerfile

24 lines
494 B
Docker
Raw Normal View History

2016-07-28 02:35:58 +02:00
FROM webdevops/apache:ubuntu-16.04
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
2017-10-12 12:54:09 +02:00
ARG PHP_UPSTREAM_CONTAINER=php-fpm
ARG PHP_UPSTREAM_PORT=9000
ARG PHP_UPSTREAM_TIMEOUT=60
2016-07-28 02:35:58 +02:00
2017-10-12 12:54:09 +02:00
ENV WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT}
2016-07-28 02:35:58 +02:00
ENV WEB_DOCUMENT_ROOT=/var/www/
2016-07-28 02:35:58 +02:00
2017-10-12 12:54:09 +02:00
ENV WEB_PHP_TIMEOUT=${PHP_UPSTREAM_TIMEOUT}
2016-07-28 02:35:58 +02:00
EXPOSE 80 443
WORKDIR /var/www/
2016-07-28 02:35:58 +02:00
2017-10-12 12:54:09 +02:00
COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf
2017-03-09 03:26:47 +01:00
2016-07-28 02:35:58 +02:00
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
CMD ["supervisord"]