env can modify size and time of uploads
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user