Spaces:
Sleeping

File size: 628 Bytes
07ed642
6590d03
 
 
 
 
a0b6825
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Dev override layered on top of docker-compose.yml via `just docker dev`.
#
# Why the entrypoint is replaced: the `jellyscope` console script does not expose
# a --reload flag, and uvicorn auto-reload requires invoking uvicorn directly with
# --reload-dir. Source is bind-mounted read-only so edits trigger reload without rebuild.

services:
  jellyscope:
    volumes:
      - ./src:/app/src:ro
    entrypoint: ["uvicorn"]
    command:
      - "jellyscope.web:create_app"
      - "--factory"
      - "--host=0.0.0.0"
      - "--port=5000"
      - "--reload"
      - "--reload-dir=/app/src"
    healthcheck:
      disable: true