|
|
1 年之前 | |
|---|---|---|
| bin | 1 年之前 | |
| config | 2 年之前 | |
| labkey | 2 年之前 | |
| software | 3 年之前 | |
| tomcat8 | 1 年之前 | |
| README.md | 2 年之前 | |
| Re | 3 年之前 |
This git project contains everything required to start labkey as a docker container.
docker and docker-composelabkey 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 $DOCKERCOMPOSEpassword 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