mirror of
https://github.com/cupcakearmy/wordpress-template.git
synced 2025-12-10 16:54:59 +00:00
docker files
This commit is contained in:
8
config/.env
Normal file
8
config/.env
Normal 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
11
config/Dockerfile
Normal 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
5
config/uploads.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
file_uploads = On
|
||||
memory_limit = 512M
|
||||
upload_max_filesize = 512M
|
||||
post_max_size = 512M
|
||||
max_execution_time = 300
|
||||
Reference in New Issue
Block a user