Spaces:
Build error
Build error
File size: 3,287 Bytes
66760eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | name: Chattr
services:
chattr:
image: alphaspheredotai/chattr:latest@sha256:094981de2f6cbad9b42bbde8147a1278af0e5a681b1d1903c497e1cd6e8dcb2c
volumes:
- logs:/home/nonroot/logs
- assets:/home/nonroot/assets
- fastembed:/home/nonroot/fastembed
environment:
MODEL__URL: ${MODEL__URL:-https://generativelanguage.googleapis.com/v1beta/openai}
MODEL__NAME: ${MODEL__NAME:-gemini-2.5-flash}
MODEL__API_KEY: ${MODEL__API_KEY}
VECTOR_DATABASE__URL: http://vector_database:6333
VECTOR_DATABASE__NAME: main
ports:
- 7860:7860
restart: on-failure:3
healthcheck:
test:
- CMD
- curl
- -o
- /dev/null
- -f
- -s
- -w
- "'Status: %{http_code},\tTime: %{time_total}s'"
- http://localhost:7860/
interval: 1m30s
timeout: 10s
retries: 5
start_period: 40s
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
- command: chmod -R 700 /home/nonroot
user: root
vector_database:
image: qdrant/qdrant:latest@sha256:0425e3e03e7fd9b3dc95c4214546afe19de2eb2e28ca621441a56663ac6e1f46
volumes:
- qdrant_storage:/qdrant/storage
ports:
- 6333:6333
- 6334:6334
restart: on-failure:3
video_generator:
image: alphaspheredotai/visualizr:latest@sha256:d1f5c97d9babdbdd45ca26b6ec42a128b612921295de13d77cb7e36fe638bb55
volumes:
- assets:/home/nonroot/assets
- checkpoint:/home/nonroot/ckpts
- gfpgan:/home/nonroot/gfpgan
ports:
- 7862:7860
restart: on-failure:3
healthcheck:
test:
- CMD
- curl
- -o
- /dev/null
- -f
- -s
- -w
- "'Status: %{http_code},\tTime: %{time_total}s'"
- http://localhost:7860/
interval: 1m30s
timeout: 10s
retries: 5
start_period: 40s
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
- command: chmod -R 700 /home/nonroot
user: root
voice_generator:
image: alphaspheredotai/vocalizr:latest@sha256:e508d563372b08766b9dd38f462c97ec831d5563922255baf911b2c821a77c8a
volumes:
- huggingface:/home/nonroot/hf
- results:/home/nonroot/results
- logs:/home/nonroot/logs
ports:
- 7861:7860
restart: on-failure:3
healthcheck:
test:
- CMD
- curl
- -o
- /dev/null
- -f
- -s
- -w
- "'Status: %{http_code},\tTime: %{time_total}s'"
- http://localhost:7860/
interval: 1m30s
timeout: 10s
retries: 5
start_period: 40s
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
post_start:
- command: chown -R nonroot:nonroot /home/nonroot
user: root
- command: chmod -R 700 /home/nonroot
user: root
volumes:
logs:
assets:
fastembed:
qdrant_storage:
checkpoint:
gfpgan:
|