env can modify size and time of uploads

This commit is contained in:
lenovo
2022-10-22 20:02:47 +02:00
parent c16ad4963d
commit e783428a51
8 changed files with 71 additions and 218 deletions

View File

@@ -29,6 +29,7 @@ services:
context: ./requirements/nginx
args:
- WP_URL=${WP_URL}
- MAX_UPLOAD_SIZE=${MAX_UPLOAD_SIZE}
image: nginx
container_name: nginx_container
depends_on:
@@ -68,6 +69,8 @@ services:
context: ./requirements/wordpress
args:
- WP_DIR=${WP_DIR}
- MAX_UPLOAD_SIZE=${MAX_UPLOAD_SIZE}
- EXECUTION_TIME=${EXECUTION_TIME}
image: wordpress
container_name: wordpress_container
depends_on:
@@ -81,15 +84,13 @@ volumes:
driver_opts:
type: none
o: "bind"
device: /home/${LOGIN}/data/wp_volume
# device: ${HOME}/data/wp_volume
device: ${MAP_VOLUMES}/wp_volume
db_volume:
driver: local
driver_opts:
type: none
o: "bind"
device: /home/${LOGIN}/data/db_volume
# device: ${HOME}/data/db_volume
device: ${MAP_VOLUMES}/db_volume
networks:
inception: