| Jul | AUG | Sep |
| 07 | ||
| 2020 | 2021 | 2022 |
COLLECTED BY
Collection: Wikipedia Eventstream
label-studio start my_project --init -db postgresql
You must set the following environment variables to connect Label Studio to PostgreSQL:
DJANGO_DB=default
POSTGRE_NAME=postgres
POSTGRE_USER=postgres
POSTGRE_PASSWORD=
POSTGRE_PORT=5432
POSTGRE_HOST=db
docker-compose up -d
docker run -it -p 8080:8080 -v <yourvolume>:/label-studio/data heartexlabs/label-studio:latest
If you’re using Docker Compose with the config included in the Label Studio repository, you can set up Docker volumes in the docker-compose.yml file for Label Studio:
version: "3.3"
services:
label_studio:
image: heartexlabs/label-studio:latest
container_name: label_studio
ports:
- 8080:8080
volumes:
- ./mydata:/label-studio/data
volumes:
mydata:
For more about specifying volumes in Docker Compose, see the volumes section of the Docker Compose file documentation.