forked from plexguide/PlexGuide.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
10 - Create Web Interface
69 lines (60 loc) · 2.65 KB
/
10 - Create Web Interface
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#### Hot Note ####
### Works, have it not comming up sometimes on reboot, please report if you attempt and have fail/success
################# Information ################# START
# Creating a web interface makes it easier for your vistors to utilize your Plex Services
# Demo Image: [Not Here Yet]
# Uses Docker Images: MariaDB & Wordpress
################# Information ################# END
################# MYSQL Container ################# START
### MySQL is a database that stores your WordPress data
# Visit http://youripv4address:9000
# [Click] Settings
# Custom Templates: Ensure that it is off
# [Click] App Templates
# [Click] MariaDB
# - Do not use MYSQL, your wordpress will timeout after 15 minutes everytime
# Root Password: enter one; keep it for the WordPress install
# [Click Create]
################# MYSQL Container ################# END
################# WordPress Container ################# START
### MySQL is a database that stores your WordPress data
# Visit http://youripv4address:9000
# [Click] App Templates
# [Click] WordPress
# MySQL database host: Select the MYSQL container your created from MariaDB
# Database Password: One you saved (root password) from above MYSQL install
# [Click] Show Advanced Options
# Port Mapping Host: Add 80
# [Click Create]
################# MYSQL Container ################# END
################# PHP Limits (Optional) ################# START
### This only applies if your uploading themes or files and you receive an exceed error message
### Recommend to do this step anyways
# Go to http://ipv4address:9000 (your portainer install)
# [Click] Containers > [Click] Wordpress > [Click] >_Console [Click] Connect
apt-get update
agt-get install nano
cd /usr/local/etc/php/conf.d/
nano php.ini
##### Copy #### START
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600
##### Copy #### END
### Move a copy to previous directory
cp php.ini ..
# [Click] Disconnect up Top
# [Click] Container List on Left or the Server Icon (3rd/4th on Down)
# Look for your Wordpress Container
# [Click] and Restart
################# PHP Limits (Opitonal) ################# START
################# Final Notes ################# START
# Visit http://ipv4address and you should see wordpress loadup
# Follow the Wizard and create a USER & PW you can memorize
# Customize easily by installing templates
# - If template does not upload do to exceed size message, follow instructions above
# Recommend Template: Evolve ($39) https://theme4press.com/evolve-multipurpose-wordpress-theme/
# - If install evolve, you need to follow the php limit instructions above
################# Final Notes ################# END