initial commit

This commit is contained in:
missytake 2020-05-19 16:03:42 +02:00
commit a7d9a0c701
2 changed files with 40 additions and 0 deletions

35
docker-compose.yml Normal file
View file

@ -0,0 +1,35 @@
version: '3.3'
volumes:
db_data:
external:
name: db_data
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: $MYSQL_PASSWORD
wordpress:
depends_on:
- db
image: wordpress:latest
links:
- db
ports:
- 80:80
restart: unless-stopped
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: $MYSQL_PASSWORD
volumes:
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini

5
uploads.ini Normal file
View file

@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 500M
upload_max_filesize = 500M
post_max_size = 500M
max_execution_time = 600