docker files

This commit is contained in:
cupcakearmy
2019-08-25 18:40:19 +02:00
parent 4741aad8fa
commit c1c07ef619
4 changed files with 47 additions and 0 deletions

8
config/.env Normal file
View File

@@ -0,0 +1,8 @@
WORDPRESS_DB_HOST=db
WORDPRESS_DB_USER=root
WORDPRESS_DB_PASSWORD=example
WORDPRESS_DB_NAME=wordpress
WORDPRESS_TABLE_PREFIX=
MYSQL_ROOT_PASSWORD=example
MYSQL_DATABASE=wordpress

11
config/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM wordpress:5-php7.3-apache
# # Possible
# # bcmath bz2 calendar ctype curl dba dom enchant exif fileinfo filter ftp gd gettext gmp hash
# # iconv imap interbase intl json ldap mbstring mysqli oci8 odbc opcache pcntl pdo pdo_dblib
# # pdo_firebird pdo_mysql pdo_oci pdo_odbc pdo_pgsql pdo_sqlite pgsql phar posix pspell readline
# # recode reflection session shmop simplexml snmp soap sockets sodium spl standard sysvmsg sysvsem
# # sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zend_test zip
RUN docker-php-ext-install pdo_mysql \
&& a2enmod ext_filter headers

5
config/uploads.ini Normal file
View File

@@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300