diff --git a/docker-compose.yml b/docker-compose.yml index acdd632..e31998f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,7 @@ services: - "localhost:host-gateway" - "host.docker.internal:host-gateway" environment: + - APP_ENV=prod - PHP_FPM_MEMORY_LIMIT=128m - APP_LOCALES=fr,en - HYDRA_ADMIN_BASE_URL=http://hydra:4445 diff --git a/misc/images/hydra-sql-base/Dockerfile b/misc/images/hydra-sql-base/Dockerfile index a449e19..673ea8f 100644 --- a/misc/images/hydra-sql-base/Dockerfile +++ b/misc/images/hydra-sql-base/Dockerfile @@ -12,4 +12,5 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \ php81-pdo_mysql=${PHP_PKG_VERSION} \ php81-bcmath=${PHP_PKG_VERSION}" -FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-base-2024.3.29-stable.1046.c568908 \ No newline at end of file +FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-base-2024.3.29-stable.1046.c568908 +RUN chown 1000:www-data -R /app diff --git a/misc/images/hydra-sql-standalone/Dockerfile b/misc/images/hydra-sql-standalone/Dockerfile index 5578f7e..0b408af 100644 --- a/misc/images/hydra-sql-standalone/Dockerfile +++ b/misc/images/hydra-sql-standalone/Dockerfile @@ -13,4 +13,5 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \ php81-bcmath=${PHP_PKG_VERSION}" FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-standalone-2024.3.29-stable.1046.c568908 +RUN chown 1000:www-data -R /app USER www-data \ No newline at end of file