http.Dockerfile: db dir is owned by nginx and mode 600
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ COPY http/php-fpm.conf /etc/php85/php-fpm.d/joeac.net-http_pool.conf
|
||||
COPY http/nginx.conf /etc/nginx/nginx.conf
|
||||
CMD mkdir -p "$(dirname "$DB_PATH")" \
|
||||
&& touch $DB_PATH \
|
||||
&& chmod -R g+rw "$(dirname "$DB_PATH")" \
|
||||
&& chown -R nginx:nginx "$(dirname "$DB_PATH")" \
|
||||
&& chmod -R 600 "$(dirname "$DB_PATH")" \
|
||||
&& php-fpm85 \
|
||||
&& nginx -g "daemon off;"
|
||||
|
||||
Reference in New Issue
Block a user