mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 05:14:05 +00:00
docker-compose: Properly pass through PHP_VERSION
Also revert composer.json docker-rebuild script to PHP 8.4, as PHP 8.5 beta doesn't currently support phpredis, rendering the Dockerfile unbuildable.
This commit is contained in:
parent
a0a9b85982
commit
f87f353cf9
2 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
|||
"docker-restart": "docker compose down && docker compose up -d",
|
||||
"docker-rebuild": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"PHP_VERSION=8.5.0beta3 docker compose up -d --no-deps --build"
|
||||
"PHP_VERSION=8.4 docker compose up -d --no-deps --build"
|
||||
],
|
||||
"docker-rebuild-with-xdebug": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
args:
|
||||
PHP_VERSION: ${PHP_VERSION:-8.4}
|
||||
XDEBUG_ENABLED: ${XDEBUG_ENABLED:-false}
|
||||
depends_on:
|
||||
mysql:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue