You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many webtools run nowadays in a docker environment, to simplify the installation and maintaining process.
Maybe a dockerfile & instructions can be included in the repository.
Here are instructions I made, how to run the app in a docker container:
FROM python:3.7-buster
COPY . .
WORKDIR /LipidLynxX
RUN pip install -r requirements.txt
EXPOSE 1399
# Important In the file LipidLynxX/lynx/config.ini, the app_url has to be set to 0.0.0.0 !
CMD ["python", "LipidLynxX.py"]
The text was updated successfully, but these errors were encountered:
I've tested your Dockerfile and protocols.
Due to some changes the python 3.7 will not work and the link to start the LipidLynxX web GUI is also changed to http://127.0.0.1:5000/lipidlynxx
Updated Dockerfile:
Create LipidLynxX/Dockerfile with following content
FROM python:3.8-buster
COPY . .
WORKDIR .
RUN pip install -r requirements.txt
EXPOSE 1399
# Important In the file LipidLynxX/lynx/config.ini, the app_url has to be set to 0.0.0.0 !
CMD ["python", "LipidLynxX.py"]
Modify Configuration
Change the app_url variable in the file LipidLynxX/lynx/config.ini to 0.0.0.0
Build Docker container
sudo docker build -t lynx .
Run the image
sudo docker run -p 127.0.0.1:5000:1399 lynx
Access LipidLynxX
open http://127.0.0.1:5000/lipidlynxx in your web browser
I've tested steps above and it is working on my Ubuntu 20.04.
Many thanks for your contribution. The docker installation will be add into next main commit.
We are making currently some other big changes, thus there will be a bit delay till I finally make the commit.
Thanks again for providing this detailed instruction @tdrose !
Docker installation for LipidLynX
Many webtools run nowadays in a docker environment, to simplify the installation and maintaining process.
Maybe a dockerfile & instructions can be included in the repository.
Here are instructions I made, how to run the app in a docker container:
Steps
Clone LipidLynxX
git clone --depth=50 --branch=master https://github.com/SysMedOs/LipidLynxX.git LipidLynxX
Modify Configuration
Change the
app_url
variable in the fileLipidLynxX/lynx/config.ini
to 0.0.0.0Build Docker container
sudo docker build -t lipidlynx .
Run the image
sudo docker run -p 127.0.0.1:5000:1399 lipidlynx
Access LipidLynxX
open http://127.0.0.1:5000 in your webbrowser
Dockerfile
The text was updated successfully, but these errors were encountered: