From 01f320b7258e22447aa6ae04b70755e3b20e51ec Mon Sep 17 00:00:00 2001 From: shihaam Date: Sat, 5 Nov 2022 00:50:24 +0500 Subject: [PATCH] uncomment php-fpm env --- buildfiles/etc/php/8.1/fpm/pool.d/www.conf | 10 +++++----- docker-compose.yml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/buildfiles/etc/php/8.1/fpm/pool.d/www.conf b/buildfiles/etc/php/8.1/fpm/pool.d/www.conf index 5278cea..095624f 100644 --- a/buildfiles/etc/php/8.1/fpm/pool.d/www.conf +++ b/buildfiles/etc/php/8.1/fpm/pool.d/www.conf @@ -431,11 +431,11 @@ pm.max_spare_servers = 3 ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from ; the current environment. ; Default Value: clean env -;env[HOSTNAME] = $HOSTNAME -;env[PATH] = /usr/local/bin:/usr/bin:/bin -;env[TMP] = /tmp -;env[TMPDIR] = /tmp -;env[TEMP] = /tmp +env[HOSTNAME] = $HOSTNAME +env[PATH] = /usr/local/bin:/usr/bin:/bin +env[TMP] = /tmp +env[TMPDIR] = /tmp +env[TEMP] = /tmp ; Additional php.ini defines, specific to this pool of workers. These settings ; overwrite the values previously defined in the php.ini. The directives are the diff --git a/docker-compose.yml b/docker-compose.yml index bdb1f1b..19f8e14 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,7 @@ services: ######################### db: image: mysql:8 + hostname: db environment: MYSQL_DATABASE: nextcloud MYSQL_USER: nextcloud