Running Bedboss in Docker
To run bedboss in docker, go through the following steps:
-
Clone the bedboss repository:
Terminal window git clone git@github.com:databio/bedboss.git -
Go to the bedboss directory.
-
Build the docker image:
Terminal window docker build -t my_bedboss . -
source the environment variables:
Terminal window source production/production.env -
Run the docker container with setting limit of the files that have to be processed:
Terminal window docker run --rm -it \--env POSTGRES_DB=$POSTGRES_DB \--env POSTGRES_HOST=$POSTGRES_HOST \--env POSTGRES_USER=$POSTGRES_USER \--env POSTGRES_PASSWORD=$POSTGRES_PASSWORD \--env QDRANT_API_KEY=$QDRANT_API_KEY \--env QDRANT_API_HOST=$QDRANT_API_HOST \--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \--env AWS_ENDPOINT_URL=$AWS_ENDPOINT_URL \--env UPLOAD_LIMIT=1 \-t my_bedboss
If everything is set up correctly, you should see the bedboss prompt.