SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.24k stars 238 forks source link

Wordpress [APP REQUEST]: #163

Open rigler86 opened 4 years ago

rigler86 commented 4 years ago

can you add wordpress?

here is a stack i put together running lastest wordpress, phpmyadmin, and mariadb.

https://gist.github.com/rigler86/afb7ea8dcc0ce2d4aa43aca432dcd197#file-wp-php-mariadb-yml

To fix issue where you can not install plugins you need to hit the CLI console for the container for worpress and run this commands

chown -R www-data wp-content chmod -R 755 wp-content

##############

To fix upload size use this in the Container CLI bash -c "echo 'php_value upload_max_filesize 256M' > '/var/www/html/.htaccess'"

SelfhostedPro commented 4 years ago

@rigler86, sorry for the delay. I've added it here: https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/adding_apps/Template/template.json can you take a look and make sure that it works for you? Once you verify that it does I can merge it into the master branch.

rigler86 commented 4 years ago

@rigler86, sorry for the delay. I've added it here: https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/adding_apps/Template/template.json can you take a look and make sure that it works for you? Once you verify that it does I can merge it into the master branch.

After adding it into portainer settings and going to app templates it give and error.Screenshot_20200720-161939_Chrome.jpg

SelfhostedPro commented 4 years ago

@rigler86 try again. I've added a squiggly brace I missed.

rigler86 commented 4 years ago

Its giving same error

SelfhostedPro commented 4 years ago

@rigler86 Looks like the file didn't actually get edited. I've modified it again. You may need to wait 5-10 mins for it to update on the raw githubusercontent side of things

rigler86 commented 4 years ago

@rigler86 Looks like the file didn't actually get edited. I've modified it again. You may need to wait 5-10 mins for it to update on the raw githubusercontent side of things

Gives me a deployment error

SelfhostedPro commented 4 years ago

Alright. I'll look into it some more tomorrow.

Sent from ProtonMail mobile

-------- Original Message -------- On Jul 20, 2020, 7:17 PM, rigler86 wrote:

@rigler86 Looks like the file didn't actually get edited. I've modified it again. You may need to wait 5-10 mins for it to update on the raw githubusercontent side of things

Gives me a deployment error

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.