|
2 weeks ago | |
---|---|---|
bin | 11 months ago | |
config | 1 year ago | |
labkey | 1 year ago | |
software | 3 years ago | |
tomcat8 | 2 weeks ago | |
README.md | 1 year ago | |
Re | 3 years ago |
This git project contains everything required to start labkey as a docker container.
docker
and docker-compose
labkey
with docker
privilegessudo adduser labkey
sudo usermod -G docker labkey
sudo su labkey
cd
git init .
git remote add origin <repository-url>
git pull origin master
bin/installLabkey.sh 22.3
to unzip the enclosed LabKey binary code and make appropriate links.bin/env.sh.sample
to bin/env.sh
and set a secret $PGPASS
, other settings are probably OK,
check $DOCKERCOMPOSE
password
in labkey/labkey.xml
Run bin/startLabkey.sh
. This will do several things:
~/postgresl/data
.In principle, the service should be running at http://localhost:8443/labkey
. Check output of inidividual
components by:
docker logs config-db-1
docker logs config-web-1
docker exec -it config-db-1 bash
Connect to running instance of labkey:
docker exec -it config_labkey-web_1 bash
Start R:
R
In R, installggplot2
with dependencies:
install.packages('ggplot2', repos='http://cran.us.r-project.org', dependencies=TRUE)
For ggpubr, install cmake
first. When in config_labkey-web_1 do:
apt update
apt install cmake
Then, in R:
install.packages('ggpubr')
Create ${POSTGRES_DIR}
directory as user that will be running the container.
If you have trouble with initial setup, the base can be reset by deleting everything under postgresql/data
.
Errors of the type 500: Unexpected server error
are common and related