diff --git a/compose.yaml b/compose.yaml index 1434b0c7..a051cfba 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,3 +1,7 @@ +networks: + web_dev: + external: true + services: php: image: ${IMAGES_PREFIX:-}app-php @@ -5,7 +9,8 @@ services: env_file: - .env.local environment: - SERVER_NAME: ${SERVER_NAME:-localhost}, php:80 + # SERVER_NAME: ${SERVER_NAME:-localhost}, php:80 + SERVER_NAME: "cartesgouvfr-dev.docker.localhost" # MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!} # MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!} # Run "composer require symfony/orm-pack" to install and configure Doctrine ORM @@ -37,6 +42,13 @@ services: - target: 443 published: ${HTTP3_PORT:-443} protocol: udp + # networks: + # - web_dev + # labels: + # - "traefik.enable=true" + # - "traefik.http.routers.cartesgouvfr.rule=Host(`cartesgouvfr-dev.docker.localhost`)" + # - "traefik.http.routers.cartesgouvfr.entrypoints=websecure" + # - "traefik.http.services.cartesgouvfr.loadbalancer.server.port=80" # Mercure is installed as a Caddy module, prevent the Flex recipe from installing another service ###> symfony/mercure-bundle ### diff --git a/frankenphp/conf.d/10-app.ini b/frankenphp/conf.d/10-app.ini index 79a17dd8..6a165c1f 100644 --- a/frankenphp/conf.d/10-app.ini +++ b/frankenphp/conf.d/10-app.ini @@ -11,3 +11,7 @@ opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 20000 opcache.memory_consumption = 256 opcache.enable_file_override = 1 + +upload_max_filesize = 300M +post_max_size = 300M +memory_limit = 256M \ No newline at end of file