Last active
August 9, 2017 15:50
-
-
Save brunocarvalhodearaujo/29004b5e9125436e19a620d3e449b0f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
mysql: | |
image: mysql:5.7 | |
volumes: | |
- ./database:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
command: --character-set-server=utf8 --collation-server=utf8_unicode_ci | |
cpu_shares: 30 | |
mem_limit: 300M | |
wordpress: | |
image: wordpress:4.8.1-php7.1 | |
volumes: | |
- ./wp-content:/var/www/html/wp-content | |
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini | |
depends_on: | |
- mysql | |
ports: | |
- "80:80" | |
environment: | |
WORDPRESS_DB_PASSWORD: root | |
cpu_shares: 30 | |
mem_limit: 200M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
memory_limit = 128M | |
upload_max_size = 64M | |
post_max_size = 64M | |
upload_max_filesize = 64M | |
max_execution_time = 600 | |
max_input_time = 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment