-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add apache image and remove apache volumes from values-yaml
- Loading branch information
1 parent
2fddf73
commit 8599055
Showing
3 changed files
with
32 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM httpd:latest | ||
|
||
# Copy the Apache configuration file | ||
COPY ./conf /usr/local/apache2/conf | ||
COPY ./conf.d /usr/local/apache2/conf.d | ||
COPY ./conf.modules.d /usr/local/apache2/conf.modules.d | ||
|
||
# Add Apache ENV variables | ||
ENV APACHE_PORT="80" | ||
ENV APACHE_USER="www-data" | ||
ENV APACHE_GROUP="www-data" | ||
ENV APACHE_SERVER_ROOT="/usr/local/apache2/" | ||
ENV APACHE_UPLOADS_F_ALIAS="/src/consumerfinance.gov/cfgov/f/" | ||
ENV STATIC_PATH="/tmp" | ||
ENV ERROR_LOG="/proc/self/fd/2" | ||
ENV ACCESS_LOG="/proc/self/fd/1" | ||
ENV LIMIT_REQUEST_BODY="0" | ||
ENV APACHE_STATUS_ALLOW_FROM="127.0.0.1" | ||
ENV APACHE_PROCESS_COUNT="4" | ||
ENV CFGOV_APPLICATION_HOST="localhost" | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["httpd-foreground"] |
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