gavintapp Posted January 9, 2016 Share Posted January 9, 2016 Hi All, Sorry if I've missed existing info on this - I spent a day searching with no luck. I'm looking for a docker repo I can install with a basic LAMP stack. Failing that, I'd go for a base debian install so I can roll my own. I can see debian have a docker repo here: https://hub.docker.com/_/debian/ I'm not sure the correct settings or XML to get this to install on my unraid. I tried modifyng Snoopy86's Ubuntu desktop repo - but its not working yet. https://github.com/gavintapp/docker-repo/blob/master/gavintapp/debian-server.xml Is there a guide to creating the repos I can refer to? Or can someone help me out with the one I've started creating? Thanks! Quote Link to comment
sparklyballs Posted January 9, 2016 Share Posted January 9, 2016 there is an apache docker with php enabled and mariadb/mysql dockers are also available. both can be found in the CA plugin. Quote Link to comment
CHBMB Posted January 9, 2016 Share Posted January 9, 2016 Personally I wouldn't use a combined LAMP stack container.... Seems far better to me as Sparkly suggested to have them separate... Which is exactly how I run mine. Quote Link to comment
gavintapp Posted January 10, 2016 Author Share Posted January 10, 2016 OK thanks - I'll give that a try. I'm used to working in a debian world and was expecting to do some apt-get work. Still adjusting to the Docker way of doing things! Thanks again! Quote Link to comment
CHBMB Posted January 10, 2016 Share Posted January 10, 2016 The thing to remember is instead of using localhost or 127.0.0.1 you need to specify the Unraid IP address when setting up a MySQL/MariaDB connection. Quote Link to comment
fizzgig314 Posted August 17, 2017 Share Posted August 17, 2017 I just finished installing separate nginx and mariadb dockers. Both seem to be running successfully in their own capacity but I am getting wp standard 'Error establishing a database connection' when I hit the site. From an UNRAID POV, what do I need to do to make sure nginx can talk to mariadb? I set the wp-config db host to the ip address that my unraid server is on. Still no luck. CHBMB have any tips or ideas? Quote Link to comment
CHBMB Posted August 17, 2017 Share Posted August 17, 2017 Username password error on Mariadb? Quote Link to comment
fizzgig314 Posted August 17, 2017 Share Posted August 17, 2017 I wish, I checked that already. Quote Link to comment
brando56894 Posted August 19, 2017 Share Posted August 19, 2017 Are you able to connect to it from any other host? It may be a routing issue. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.