Skip to content

Commit 4356d5d

Browse files
authored
Merge pull request #372 from phpdocker-io/symfony-7-prep
Symfony 7 prep
2 parents f24a627 + 0f023ea commit 4356d5d

24 files changed

+311
-426
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,9 @@ RUN yarn install --immutable
7373

7474
## Actual deployable frontend image
7575
FROM nginx:alpine AS frontend-deployment
76-
#FROM phpdockerio/nginx-pagespeed:latest AS frontend-deployment
7776

7877
WORKDIR /application
7978

80-
#COPY infrastructure/nginx/pagespeed.conf /etc/nginx/pagespeed.conf
8179
COPY infrastructure/nginx/nginx.conf /etc/nginx/conf.d/default.conf
8280

8381
# NGINX config: update php-fpm hostname to localhost (same pod in k8s), activate pagespeed config, deactivate SSL

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MKCERT_LOCATION=bin/mkcert
44
HOSTS_VERSION=3.6.4
55
HOSTS_LOCATION=bin/hosts
66
SITE_HOST=phpdocker.local
7-
PHP_RUN=docker-compose run -e XDEBUG_MODE=coverage --rm php-fpm
7+
PHP_RUN=docker compose run -e XDEBUG_MODE=coverage --rm php-fpm
88

99
INFECTION_THREADS?=8
1010
BUILD_TAG?:=$(shell date +'%Y-%m-%d-%H-%M-%S')-$(shell git rev-parse --short HEAD)
@@ -27,23 +27,23 @@ echo-build-tag-2:
2727
echo $(BUILD_TAG)
2828

2929
start:
30-
docker-compose up -d --scale php-fpm=2
30+
docker compose up -d --scale php-fpm=2
3131

3232
stop:
33-
docker-compose stop
33+
docker compose stop
3434

3535
shell:
3636
$(PHP_RUN) bash
3737

3838
init: clean install-mkcert create-certs install-hosts clean-hosts init-hosts build-local install-dependencies install-assets-dev fix-permissions fix-cache-permissions-dev start
3939

4040
clean: clear-cache
41-
docker-compose down
41+
docker compose down
4242
sudo rm -rf vendor
4343
make clear-cache
4444

4545
build-local:
46-
docker-compose build
46+
docker compose build
4747

4848
fix-permissions:
4949
sudo chown -Rf $(shell id -u):$(shell id -g) .

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"ext-iconv": "*",
1010
"ext-redis": "*",
1111
"ext-zip": "*",
12-
"doctrine/annotations": "^2.0",
1312
"michelf/php-markdown": "^2.0",
1413
"symfony/console": "^6.0",
1514
"symfony/dotenv": "^6.0",

0 commit comments

Comments
 (0)