MythTV's mythweb interface. Supports base & subfolder methods, and linuxserver/letsencrypt container
350
This container is based upon vandrham/mythweb build. You'll need an existing MythTV deployment (mythtv BE, SQL) where this container serves only the mythweb function.
- updated to ubuntu:latest and current latest php packages (php7)
- fixed httpd process issue that i was getting on vandrham/mythweb build.
- support for the linuxserver/letsencrypt proxy container, as a subfolder.
- enabled ENV options to customize the mythweb.conf database connections.
- enabled support for large channel lineups (extended PHP memory limit to 512M & execution time to 120sec)
- nano editor installed
- Container uses port 80.
docker run -d \
--publish 80:80 \
--name mythweb \
--hostname mythweb \
veehexx/mythweb
docker run -d \
--name mythweb \
--hostname mythweb \
--env subfolder=1 \
veehexx/mythweb
--env subfolder=0
This will enable or disable the subfolder configuration. 0=disable (http://server), 1=enable (http://server/mythweb)
--env db_server=localhost
sets your SQL server hostname/IP
--env db_name=mythconverg
sets your SQL DB name
--env db_login=mythtv
sets your SQL login username
--env 'db_password=mythtv'
sets your SQL user password. note the single quotes. This is required to parse certain characters when running via cmdline.
Rewrite base has already been configured if '--env subfolder=1' has been defined
Assuming you have DNS working inside Docker (hint, create a new Bridge network&range), the following line is correct if your mythweb container name is 'mythweb'. change or use IP if applicable set $upstream_mythweb mythweb; On your Letsencrypt container, create/edit /config/nginx/proxy-confs/mythweb.subfolder.conf with the following content. Restart the LE container once done.
# mythweb requires "RewriteBase /mythweb" to be uncommented in the mythweb.conf file
location /mythweb {
return 301 $scheme://$host/mythweb/;
}
location ^~ /mythweb/ {
# enable the next two lines for http auth
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
#auth_request /auth;
#error_page 401 =200 /login;
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_mythweb mythweb;
# rewrite /mythweb(.*) $1 break;
proxy_pass http://$upstream_mythweb:80;
}
Content type
Image
Digest
Size
118.2 MB
Last updated
over 6 years ago
docker pull veehexx/mythweb