diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 83041e56..957e7acc 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -12,6 +12,9 @@ services: web: + # Use pre-built image from registry + image: git.michaelschiemer.de:5000/framework:latest + # Production restart policy restart: always @@ -75,6 +78,9 @@ services: condition: service_started php: + # Use pre-built image from registry + image: git.michaelschiemer.de:5000/framework:latest + # Production restart policy restart: always @@ -91,12 +97,6 @@ services: - CHOWN - DAC_OVERRIDE - # Override build args for production - build: - args: - - ENV=production - - COMPOSER_INSTALL_FLAGS=--no-dev --optimize-autoloader --classmap-authoritative - environment: - APP_ENV=production - APP_DEBUG=false @@ -227,7 +227,8 @@ services: labels: "service,environment" queue-worker: - # Use same build as php service (has application code copied) + # Use pre-built image from registry + image: git.michaelschiemer.de:5000/framework:latest # Production restart policy restart: always diff --git a/src/Application/Website/ShowHome.php b/src/Application/Website/ShowHome.php index 47c27cc8..7b475dd4 100644 --- a/src/Application/Website/ShowHome.php +++ b/src/Application/Website/ShowHome.php @@ -47,4 +47,3 @@ final readonly class ShowHome ); } } -// Production deployment test trigger