Update README.md

pull/1/head
Tai 3 years ago committed by GitHub
parent ac72a0abc7
commit b23e17986f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,8 +20,18 @@ www.example.com {
}
```
### uploads.ini
Make sure you create this file otherwise you can't adjust size limits. [Uploads.ini](https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/uploads.ini)
```
file_uploads = On
upload_max_filesize = 2056M
post_max_size = 2056M
```
### .env
https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/.env
[.env](https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/.env)
```
# General
MY_DOMAIN=example.com
@ -35,7 +45,7 @@ DB_ROOT_PASS=rootpass
```
### docker-compose.yml
https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/docker-compose.yml
[docker-compose.yml](https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/docker-compose.yml)
```
version: '3.1'
@ -69,12 +79,3 @@ networks:
external:
name: $DOCKER_MY_NETWORK
```
### uploads.ini
https://github.com/StarWhiz/docker_deployment_notes/blob/master/wordpress/uploads.ini
This is used to configure your upload size limits.
```
file_uploads = On
upload_max_filesize = 2056M
post_max_size = 2056M
```
Loading…
Cancel
Save