Spaces:
Running
Running
version: "3.8" | |
services: | |
redis: | |
image: redis:alpine | |
container_name: redis | |
hostname: redis | |
volumes: | |
- "./data/redis:/data" | |
expose: | |
- 6379 | |
server: | |
container_name: server | |
build: . | |
environment: | |
- MODEL_DIR=/data/models | |
- RQ_QUEUE_NAME=default | |
- REDIS_HOST=redis | |
- REDIS_PORT=6379 | |
- LABEL_STUDIO_USE_REDIS=true | |
ports: | |
- 9090:9090 | |
depends_on: | |
- redis | |
links: | |
- redis | |
volumes: | |
- "./data/server:/data" | |
- "./logs:/tmp" | |