brain initiation

This commit is contained in:
2025-11-05 09:18:11 +01:00
commit 933aa8a985
191 changed files with 6203 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
:PROPERTIES:
:ID: e1eac0f9-5b66-436a-8624-d5ea49e1204b
:END:
#+title: wordpress
wordpress is a framework to create your own website. Runs as [[id:df046fd7-1f82-4e12-9065-56d222f56408][docker]] [[id:936191f2-696b-4d9a-96ad-c8449778ae26][container]] and is hosted with [[id:0b50e19a-0608-434c-a57c-fd719e3bb8bf][nginx]]
* the config
** ~/wordpress-compose/docker-compose.yml
* Parameter:
follow the steps explained under [[id:0b50e19a-0608-434c-a57c-fd719e3bb8bf][nginx]]
Additionally create the the file wordpress.ini with the following content:
#+begin_src
file_uploads = On
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
max_input_time = 1000
#+end_src
To load this file into the wordpress container add this line to your Volumes of the wordpress service in the [[id:fcbfabfa-4a8c-4826-8b57-5dce05965c76][docker-compose]] compose file listed above:
#+begin_src
volumes:
- ./wordpress.ini:/usr/local/etc/php/conf.d/wordpress.ini
#+end_src
put the wordpress.ini file in the [[id:673d1cb1-536b-42f1-a046-40a8937c4283][root]] same folder where the compose file is and take start the docker containers with
#+begin_src
docker-compose up -d
#+end_src
if the Container is already running, take it down first with
#+begin_src
docker-compose down
#+end_src
* Run wp with reverse Proxy
To run wp with rp configuration does not work out of the box. This [[https://manios.org/2014/04/12/nginx-https-reverse-proxy-to-wordpress-with-apache-http-and-different-port][Blog]] gives a detailed how to on the configuration with wp and nginx.