-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
4 additions
and
0 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM httpd:2.4.20 | ||
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | ||
RUN apt-get update && apt-get install -y curl | ||
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost | ||
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf |
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,4 +1,5 @@ | ||
FROM httpd:2.4.12 | ||
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | ||
RUN apt-get update && apt-get install -y curl | ||
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost | ||
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf |
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,3 +1,4 @@ | ||
FROM mongo:3.4 | ||
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | ||
RUN apt-get update && apt-get install -y netcat | ||
HEALTHCHECK --interval=1s --retries=90 CMD nc -z localhost 27017 |
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,4 +1,5 @@ | ||
FROM nginx:1.9 | ||
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | ||
RUN apt-get update && apt-get install -y curl | ||
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status | ||
COPY ./nginx.conf /etc/nginx/ |