Skip to content

Commit

Permalink
feat: introduce docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
phv2312 committed Dec 15, 2024
1 parent 3f5d1fb commit a358fd2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
kotaemon:
volumes:
- "./ktem_app_data:/app/ktem_app_data"
- "./libs/kotaemon:/app/kotaemon"
- "./libs/ktem:/app/ktem"
- "./flowsettings.py:/app/flowsettings.py"
ports:
- "7860:7860"
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
services:
kotaemon:
build:
context: .
target: lite
dockerfile: Dockerfile
env_file: .env
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
ports:
- "7860:7860"
networks:
- backend
# gocr:
# image: ghcr.io/phv2312/got-ocr2.0:main
# ports:
# - "8881:8881"
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# networks:
# - backend
networks:
backend:
driver: bridge

0 comments on commit a358fd2

Please sign in to comment.