Skip to content

Comments

Dockerfile#4

Open
csalg wants to merge 3 commits intopirtleshell:minefrom
csalg:mine
Open

Dockerfile#4
csalg wants to merge 3 commits intopirtleshell:minefrom
csalg:mine

Conversation

@csalg
Copy link

@csalg csalg commented Dec 15, 2019

I created a Dockerfile to make deployment easier.

@JHerseth
Copy link

JHerseth commented Mar 30, 2020

Trying to run this using docker run -itdp 8080:80 csalg/lwt_fork but getting this error in browser:

Fatal Error: DB connect error (MySQL not running or connection parameters are wrong; start MySQL and/or correct file "connect.inc.php"). Please read the documentation: http://lwt.sf.net [Error Code: 1045 / Error Message: Access denied for user 'root'@'localhost' (using password: NO)]

Any idea why that is? I have minimal experience with docker.
edit:
@csalg seems connect.inc.php wasn't changed, so the password wasn't specified.

@csalg
Copy link
Author

csalg commented Apr 11, 2021

Oh, I didn't see this comment until now. I will look into it.

@aasmoe
Copy link

aasmoe commented Apr 15, 2021

I've been trying out the official release of LWT and I find it great but slow. I heard there exists faster unofficial versions like this one, but I'm at a loss for how to install it. It won't work by simply putting it in the devserver-folder like with the official release. I tried Docker, but I can't figure out how to set it up with this document. Anyone know where one can get any information about how to install this unofficial version?

@HugoFara
Copy link

HugoFara commented Apr 24, 2022

I've been trying out the official release of LWT and I find it great but slow. I heard there exists faster unofficial versions like this one, but I'm at a loss for how to install it. It won't work by simply putting it in the devserver-folder like with the official release. I tried Docker, but I can't figure out how to set it up with this document. Anyone know where one can get any information about how to install this unofficial version?

Run

docker build -t csalg/lwt_fork:latest .
docker run -itdp 8010:80 csalg/lwt_fork

for this fork.

Otherwise, I made another version compatible with Docker at hugofara/lwt, installation are provided at docs/install.md.

Generally speaking, you shouldn't use Docker if you are looking for better performances. For reinstalling LWT, just follow the instructions in install.md ;)

@csalg
Copy link
Author

csalg commented Apr 27, 2022

I made this just because I found installation cumbersome, but there should be no speed improvements, it's just to make it quick to install in a container. In fact, on a non-Linux machine (e.g. Mac) it will run slower. On a Linux machine the performance should be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants