asserts renamed to assets and added docker deployment (#34)
21
Dockerfile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
git \
|
||||||
|
python3 \
|
||||||
|
pip
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
EXPOSE 3306
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
CMD ["python", "pilot/server/vicuna_server.py"]
|
||||||
|
CMD ["python", "pilot/server/webserver.py"]
|
||||||
|
|
||||||
|
|
BIN
assets/DB-GPT.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
assets/DB_QA.png
Normal file
After Width: | Height: | Size: 243 KiB |
BIN
assets/SQLGEN.png
Normal file
After Width: | Height: | Size: 297 KiB |
BIN
assets/VectorDBQA.png
Normal file
After Width: | Height: | Size: 560 KiB |
BIN
assets/exeable.png
Normal file
After Width: | Height: | Size: 277 KiB |
BIN
assets/pilot.png
Normal file
After Width: | Height: | Size: 78 KiB |
0
assets/readme.md
Normal file
BIN
assets/sql_generate.png
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
assets/wechat.jpg
Normal file
After Width: | Height: | Size: 323 KiB |
BIN
assets/演示.gif
Normal file
After Width: | Height: | Size: 3.0 MiB |
14
docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
db-gpt:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
image: db-gpt:latest
|
||||||
|
container_name: db-gpt
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
- 3306:3306
|
||||||
|
restart: unless-stopped
|
||||||
|
read-only: true
|