-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SP-690 PHP Laravel Demo - Docker Compose
- Loading branch information
1 parent
f9d5035
commit 2dd174d
Showing
12 changed files
with
582 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
FROM webdevops/apache:ubuntu-18.04 | ||
FROM httpd:2.4-alpine | ||
|
||
ARG PHP_UPSTREAM_CONTAINER=php-fpm | ||
ARG PHP_UPSTREAM_PORT=9000 | ||
|
||
ENV WEB_DOCUMENT_ROOT=/var/www/html/ | ||
ENV WEB_PHP_TIMEOUT=60 | ||
|
||
ENV WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT} | ||
|
||
EXPOSE 80 443 | ||
|
||
WORKDIR /var/www/ | ||
|
||
COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf | ||
COPY httpd.conf /usr/local/apache2/conf/httpd.conf | ||
|
||
ADD ./start.sh /opt/start.sh | ||
|
||
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"] | ||
|
||
CMD ["/bin/bash", "/opt/start.sh"] | ||
|
||
EXPOSE 80 443 | ||
EXPOSE 80 443 |
Oops, something went wrong.