-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: allow for easier building different versions of images locally
- Loading branch information
1 parent
b3086ee
commit 642cfce
Showing
4 changed files
with
71 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,3 +133,4 @@ $RECYCLE.BIN/ | |
# End of https://www.toptal.com/developers/gitignore/api/yarn | ||
|
||
node_modules/ | ||
.env |
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,20 +1,33 @@ | ||
services: | ||
### | ||
# Main php container | ||
# | ||
# This container runs the php-fpm process and serves WordPress. | ||
# | ||
# Requires the db container to be running. | ||
# | ||
# Contains: | ||
# - php-fpm, xdebug, composer | ||
# - WordPress installation (in volume web-data) | ||
# - Various tools: zsh, vim | ||
# | ||
# See https://github.com/myparcelnl/docker-images/pkgs/container/wordpress | ||
## | ||
php-xd: | ||
image: ghcr.io/myparcelnl/php-xd:${PHP_XD_PHP_VERSION}${PHP_XD_TYPE}-alpine${PHP_XD_ALPINE_VERSION} | ||
build: | ||
context: images/php-xd | ||
args: | ||
ALPINE_VERSION: ${PHP_XD_ALPINE_VERSION} | ||
PHP_VERSION: ${PHP_XD_PHP_VERSION} | ||
TYPE: ${PHP_XD_TYPE} | ||
|
||
wordpress: | ||
image: ghcr.io/myparcelnl/wordpress:6.3-php7.4 | ||
image: ghcr.io/myparcelnl/wordpress:${WP_VERSION}-php${WP_PHP_VERSION} | ||
build: | ||
context: images/wordpress | ||
dockerfile: Dockerfile | ||
args: | ||
WP_VERSION: ${WP_VERSION} | ||
PHP_VERSION: ${WP_PHP_VERSION} | ||
|
||
prestashop: | ||
image: ghcr.io/myparcelnl/prestashop:${PS_VERSION}-php${PS_PHP_VERSION} | ||
build: | ||
context: images/prestashop | ||
args: | ||
PS_VERSION: ${PS_VERSION} | ||
PHP_VERSION: ${PS_PHP_VERSION} | ||
|
||
shopware: | ||
image: ghcr.io/myparcelnl/shopware:${SW_VERSION}-php${SW_PHP_VERSION} | ||
build: | ||
context: images/shopware | ||
args: | ||
SW_VERSION: ${SW_VERSION} | ||
PHP_VERSION: ${SW_PHP_VERSION} |