-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
187 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
deb http://archive.debian.org/debian stretch main |
Binary file not shown.
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,12 @@ | ||
#!/bin/bash | ||
# USAGE: | ||
# build-up-php-5-6-apache.sh | ||
# | ||
# NOTE: | ||
# Rebuild the Docker image & compose up. | ||
|
||
# source the environment variables | ||
set -o allexport; source "${PWD}/.env"; set +o allexport | ||
|
||
# Use the EWC Protocol to build the image of the service & compose up | ||
ewc-docker-build-up.sh "php-5-6-apache" "${APACHE_PHP56_DOCKER_BUILD_DESC:-PHP ${PHP_VERSION} & Apache Web Server}" |
This file was deleted.
Oops, something went wrong.
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,40 @@ | ||
version: '3.7' | ||
|
||
# Services/Containers to orchestrate in this composition | ||
services: | ||
|
||
# Basic PHP 5.6 & Apache2 Image Container | ||
php-5-6-apache: | ||
container_name: php-5-6-apache | ||
tty: true | ||
restart: unless-stopped | ||
build: | ||
context: . | ||
target: ${APACHE_PHP56_DOCKER_BUILD_TARGET} | ||
dockerfile: ${DOCKER_BUILD_FILE} | ||
args: | ||
- NPM_VERSION=${NPM_VERSION} | ||
- APP_ENV=${APP_ENV} | ||
labels: | ||
ewc.name: "Web Server" | ||
ewc.description: "${APACHE_PHP56_DOCKER_BUILD_DESC}" | ||
ewc.php.version: "${PHP_VERSION}" | ||
image: ${APACHE_PHP56_DOCKER_IMAGE}:${APACHE_PHP56_DOCKER_IMAGE_TAG} | ||
environment: | ||
- NPM_VERSION=${NPM_VERSION} | ||
- APP_ENV=${APP_ENV} | ||
working_dir: /var/www | ||
ports: | ||
- ${APP_PORT}:80 | ||
- ${APP_SSL_PORT}:443 | ||
volumes: | ||
- ./public_html:/var/www/html | ||
- ./docker-files/php/56.local.ini:/usr/local/etc/php.ini | ||
networks: | ||
- web-app-network | ||
|
||
# Custom network for composed containers to communicate on | ||
networks: | ||
web-app-network: | ||
driver: bridge | ||
|
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.