OpenWebUI integration
This commit is contained in:
@@ -1,38 +1,41 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
web:
|
||||
podx-web:
|
||||
build: ./app
|
||||
container_name: podx-web
|
||||
env_file: [.env]
|
||||
environment:
|
||||
- MEILI_URL=http://meili:7700
|
||||
- MEILI_KEY=devkey
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- LIBRARY_ROOT=/library
|
||||
- TRANSCRIPT_ROOT=/transcripts
|
||||
- TMP_ROOT=/tmpdl
|
||||
- WHISPER_MODEL=large-v3
|
||||
- WHISPER_PRECISION=int8
|
||||
MEILI_URL: http://meili:7700
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
LIBRARY_ROOT: /library
|
||||
TRANSCRIPT_ROOT: /transcripts
|
||||
TMP_ROOT: /tmpdl
|
||||
WHISPER_MODEL: large-v3
|
||||
WHISPER_PRECISION: int8
|
||||
volumes:
|
||||
- ./library:/library
|
||||
- ./transcripts:/transcripts
|
||||
- ./tmp:/tmpdl
|
||||
- ./models:/root/.cache/huggingface
|
||||
ports: ["8088:8080"]
|
||||
depends_on: [worker, meili, redis]
|
||||
depends_on: [podx-worker, meili, redis]
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
|
||||
worker:
|
||||
podx-worker:
|
||||
build: ./app
|
||||
container_name: podx-worker
|
||||
command: ["python", "worker.py"]
|
||||
env_file: [.env]
|
||||
environment:
|
||||
- MEILI_URL=http://meili:7700
|
||||
- MEILI_KEY=devkey
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- LIBRARY_ROOT=/library
|
||||
- TRANSCRIPT_ROOT=/transcripts
|
||||
- TMP_ROOT=/tmpdl
|
||||
- WHISPER_MODEL=large-v3
|
||||
- WHISPER_PRECISION=int8
|
||||
MEILI_URL: http://meili:7700
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
LIBRARY_ROOT: /library
|
||||
TRANSCRIPT_ROOT: /transcripts
|
||||
TMP_ROOT: /tmpdl
|
||||
WHISPER_MODEL: large-v3
|
||||
WHISPER_PRECISION: int8
|
||||
volumes:
|
||||
- ./library:/library
|
||||
- ./transcripts:/transcripts
|
||||
@@ -40,13 +43,15 @@ services:
|
||||
- ./models:/root/.cache/huggingface
|
||||
depends_on: [meili, redis]
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
|
||||
meili:
|
||||
image: getmeili/meilisearch:v1.8
|
||||
container_name: meili
|
||||
env_file: [.env]
|
||||
environment:
|
||||
- MEILI_MASTER_KEY=devkey
|
||||
- MEILI_NO_ANALYTICS=true
|
||||
MEILI_NO_ANALYTICS: "true"
|
||||
ports: ["7700:7700"]
|
||||
volumes:
|
||||
- ./data/meili:/meili_data
|
||||
|
Reference in New Issue
Block a user