Try CurryBO
docker compose is probably the fastest way to get an instance of CurryBO up and running with just one command. In order to use docker compose, please install Docker first.
NOTE
Please note that you need to be connected to the ETH network in order for LDAP
authentication to work. If this is not possible, provide AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET
for Google authentication.
Option 1 (build yourself)
After cloning the project, run docker compose up to get a quick testing setup for CurryBO:
git clone git@gitlab.ethz.ch:digital-chemistry-laboratory/currybo
docker compose upAfter this, open http://localhost:3000 in your browser.
Option 2 (prebuilt image)
Copy the following content into a file docker-compose.yml and type docker compose up. After CurryBO has started, visit localhost:3000 in your browser.
docker-compose.yml
services:
currybo-db:
image: postgres:15
restart: always
volumes:
- data-db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=sup3rs3cr3t
- POSTGRES_DB=currybo
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
ports:
- "5432:5432"
networks:
- currybo
currybo:
image: matl-vs15.ethz.ch/currybo:latest
restart: always
depends_on:
- currybo-db
ports:
- 3000:3000
environment:
- DATABASE_URL=postgres://postgres:sup3rs3cr3t@currybo-db:5432/currybo?schema=public
- LDAP_URI=ldaps://ldaps-hit-2.ethz.ch
- AUTH_URL=http://localhost:3000
- AUTH_SECRET=!ChangeMe!
- CURRYBO_API_KEY=!ChangeMe!
networks:
- currybo
volumes:
data-db:
driver: local
networks:
currybo: {}Last updated on