prevent plugin volume to have ownerships overwritten by docker

This commit is contained in:
asus
2024-02-06 15:46:43 +01:00
parent 00473e1288
commit 24aac70ac8
4 changed files with 27 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ services:
- WP_URL=${WP_URL}
- SERVER_MAX_UPLOAD_SIZE=${SERVER_MAX_UPLOAD_SIZE}
- WP_VOLUME_DIR=${WP_VOLUME_DIR}
- WP_VOLUME_PLUGINS=${WP_VOLUME_PLUGINS}
- NG_CERTS_DIR=${NG_CERTS_DIR}
image: nginx
container_name: nginx_container
@@ -64,6 +65,8 @@ services:
build:
context: ./requirements/wordpress
args:
- WP_VOLUME_DIR=${WP_VOLUME_DIR}
- WP_VOLUME_PLUGINS=${WP_VOLUME_PLUGINS}
- SERVER_MAX_UPLOAD_SIZE=${SERVER_MAX_UPLOAD_SIZE}
- SERVER_EXECUTION_TIME=${SERVER_EXECUTION_TIME}
image: wordpress