LabKey Community Edition docker quick start guide. This repo contains a generic docker-compose.yml file to aid in getting started with LabKey Community Edition.
Note: integrations with LabKey products that traditionally have relied on OS configuration such as R reports or Python scripts will NOT work. But don't let that discourage you, as the rest of the community edition features are fully functional. If you feel you need those features, there are other options for installation.
- Docker Engine or Docker Desktop
If you need help installing Docker, see these links for instructions:
Once you have Docker installed, follow these steps to get started with LabKey Community Edition:
-
Open a command line window and clone this repo locally
git clone https://github.com/LabKey/ce-docker.git
-
CD to the cloned repo directory
cd ./ce-docker
-
Start LabKey Community Edition using docker compose
docker compose up community --detach
-
After a few minutes, LabKey Community Edition will have started, and you can log in to the application by opening a web browser and navigating to
https://localhost:8443
-
You may see a warning about the connection being insecure, and need to click through 'advanced' or 'continue' to get to the setup wizard.
-
Using your web browser, complete the initial setup wizard.
-
Visit our docs page to learn more about how to get started using LabKey.
- To stop the instance
docker compose down
- To stop the instance and discard/clean up
docker-compose down -v --remove-orphans
- Some files are persisted locally and are not cleaned up. Deleting any of these may result in data loss. Be careful!
mount/files
contains files saved in LabKeymount/logs
contains LabKey Server logsmount/pgdata
contains the postgresql database filesmount/modules
file path used for custom modules
There are a substantial number of configuration options available. The docker-compose.yml
included in this repo is designed to help most clients get started.
Additional configuration options are described here.
We only publish tagged versions to Docker Hub (we don't publish a 'latest' tag). To upgrade to a new version of LabKey Community edition, you have two options:
- Edit the
docker-compose.yml
file and update theimage
version to the LabKey version you wish to use. - Launch a new version with the
docker compose up
command line.export IDENT="labkeyteamcity/labkey-community:25.3.9" docker compose up community --detach