Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agentchat
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟@五瓣科技
agentchat
Commits
2c60b355
Commit
2c60b355
authored
Jun 08, 2025
by
Wade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker compose
parent
8c0bff12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
360 additions
and
114 deletions
+360
-114
docker-compose-graph.yml
docker-compose-graph.yml
+133
-0
docker-compose-milvus.yml
docker-compose-milvus.yml
+61
-0
docker-compose-test.yml
docker-compose-test.yml
+163
-0
docker-compose.yml
docker-compose.yml
+3
-114
No files found.
docker-compose-graph.yml
0 → 100644
View file @
2c60b355
version
:
'
3.9'
services
:
agentchat
:
container_name
:
"
agentchat"
build
:
context
:
.
# Build context is the current directory
dockerfile
:
Dockerfile
# Dockerfile for agentchat
volumes
:
-
/var/log:/var/log
environment
:
-
GEMINI_API_KEY=${GEMINI_API_KEY}
# Reference variable from .env
ports
:
-
"
8000:8000"
entrypoint
:
/app/myapp
docker-host
:
image
:
qoomon/docker-host
cap_add
:
[
'
NET_ADMIN'
,
'
NET_RAW'
]
mem_limit
:
8M
restart
:
on-failure
# etcd:
# container_name: milvus-etcd
# image: quay.io/coreos/etcd:v3.5.18
# environment:
# - ETCD_AUTO_COMPACTION_MODE=revision
# - ETCD_AUTO_COMPACTION_RETENTION=1000
# - ETCD_QUOTA_BACKEND_BYTES=4294967296
# - ETCD_SNAPSHOT_COUNT=50000
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
# command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
# healthcheck:
# test: ["CMD", "etcdctl", "endpoint", "health"]
# interval: 30s
# timeout: 20s
# retries: 3
# minio:
# container_name: milvus-minio
# image: minio/minio:RELEASE.2023-03-20T20-16-18Z
# environment:
# MINIO_ACCESS_KEY: minioadmin
# MINIO_SECRET_KEY: minioadmin
# ports:
# - "9001:9001"
# - "9000:9000"
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
# command: minio server /minio_data --console-address ":9001"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
# interval: 30s
# timeout: 20s
# retries: 3
# standalone:
# container_name: milvus-standalone
# image: milvusdb/milvus:v2.5.10
# command: ["milvus", "run", "standalone"]
# security_opt:
# - seccomp:unconfined
# environment:
# ETCD_ENDPOINTS: etcd:2379
# MINIO_ADDRESS: minio:9000
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
# interval: 30s
# start_period: 90s
# timeout: 20s
# retries: 3
# ports:
# - "19530:19530"
# - "9091:9091"
# depends_on:
# - "etcd"
# - "minio"
# db:
# image: mysql/mysql-server
# environment:
# MYSQL_USER: 'user'
# MYSQL_PASSWORD: 'password'
# MYSQL_ROOT_PASSWORD: 'aa123456'
# ports:
# - 3306:3306
# volumes:
# - dbgpt-myql-db:/var/lib/mysql
# - ./docker/examples/my.cnf:/etc/my.cnf
# - ./docker/examples/sqls:/docker-entrypoint-initdb.d
# - ./assets/schema/dbgpt.sql:/docker-entrypoint-initdb.d/dbgpt.sql
# restart: unless-stopped
# webserver:
# image: eosphorosai/dbgpt-openai:latest
# command: dbgpt start webserver --config /app/configs/dbgpt-graphrag.toml
# environment:
# - SILICONFLOW_API_KEY=${SILICONFLOW_API_KEY}
# - MYSQL_PASSWORD=aa123456
# - MYSQL_HOST=db
# - MYSQL_PORT=3306
# - MYSQL_DATABASE=dbgpt
# - MYSQL_USER=root
# - OPENAI_API_KEY=sk-UIpD9DohtE0Ok4wtFdC21668Dc3241629e8aA05d5dAeFdA1
# volumes:
# - ./configs:/app/configs
# - /data:/data
# # May be you can mount your models to container
# - /data/models:/app/models
# - dbgpt-data:/app/pilot/data
# - dbgpt-message:/app/pilot/message
# depends_on:
# - db
# - tugraph
# ports:
# - 5670:5670/tcp
# # webserver may be failed, it must wait all sqls in /docker-entrypoint-initdb.d execute finish.
# restart: unless-stopped
# networks:
# - dbgptnet
# ipc: host
# tugraph:
# image: tugraph/tugraph-runtime-centos7:4.5.1
# command: lgraph_server -d run --enable_plugin true
# ports:
# - 7070:7070
# - 7687:7687
# - 9090:9090
# container_name: tugraph_demo
# restart: unless-stopped
# volumes:
# dbgpt-myql-db:
# dbgpt-data:
# dbgpt-message:
# dbgpt-alembic-versions:
docker-compose-milvus.yml
0 → 100644
View file @
2c60b355
version
:
'
3.5'
services
:
etcd
:
container_name
:
milvus-etcd
image
:
quay.io/coreos/etcd:v3.5.18
environment
:
-
ETCD_AUTO_COMPACTION_MODE=revision
-
ETCD_AUTO_COMPACTION_RETENTION=1000
-
ETCD_QUOTA_BACKEND_BYTES=4294967296
-
ETCD_SNAPSHOT_COUNT=50000
volumes
:
-
${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
command
:
etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
healthcheck
:
test
:
[
"
CMD"
,
"
etcdctl"
,
"
endpoint"
,
"
health"
]
interval
:
30s
timeout
:
20s
retries
:
3
minio
:
container_name
:
milvus-minio
image
:
minio/minio:RELEASE.2023-03-20T20-16-18Z
environment
:
MINIO_ACCESS_KEY
:
minioadmin
MINIO_SECRET_KEY
:
minioadmin
ports
:
-
"
9001:9001"
-
"
9000:9000"
volumes
:
-
${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
command
:
minio server /minio_data --console-address ":9001"
healthcheck
:
test
:
[
"
CMD"
,
"
curl"
,
"
-f"
,
"
http://localhost:9000/minio/health/live"
]
interval
:
30s
timeout
:
20s
retries
:
3
standalone
:
container_name
:
milvus-standalone
image
:
milvusdb/milvus:v2.5.10
command
:
[
"
milvus"
,
"
run"
,
"
standalone"
]
security_opt
:
-
seccomp:unconfined
environment
:
ETCD_ENDPOINTS
:
etcd:2379
MINIO_ADDRESS
:
minio:9000
volumes
:
-
${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
healthcheck
:
test
:
[
"
CMD"
,
"
curl"
,
"
-f"
,
"
http://localhost:9091/healthz"
]
interval
:
30s
start_period
:
90s
timeout
:
20s
retries
:
3
ports
:
-
"
19530:19530"
-
"
9091:9091"
depends_on
:
-
"
etcd"
-
"
minio"
networks
:
default
:
name
:
milvus
docker-compose-test.yml
0 → 100644
View file @
2c60b355
version
:
'
3.8'
services
:
web
:
image
:
python:3.9-slim
container_name
:
web_app
command
:
>
sh -c "pip install psycopg2-binary &&
python -m http.server 8000"
volumes
:
-
./app:/app
working_dir
:
/app
ports
:
-
"
8000:8000"
depends_on
:
-
db
environment
:
-
DB_HOST=db
-
DB_NAME=mydatabase
-
DB_USER=myuser
-
DB_PASSWORD=mypassword
networks
:
-
app_network
extends
:
file
:
docker-compose.db.yml
service
:
db
networks
:
app_network
:
driver
:
bridge
# version: '3.9'
# services:
# agentchat:
# container_name: "agentchat"
# build:
# context: . # Build context is the current directory
# dockerfile: Dockerfile # Dockerfile for agentchat
# volumes:
# - /var/log:/var/log
# environment:
# - GEMINI_API_KEY=${GEMINI_API_KEY} # Reference variable from .env
# ports:
# - "8000:8000"
# entrypoint: /app/myapp
# docker-host:
# image: qoomon/docker-host
# cap_add: ['NET_ADMIN', 'NET_RAW']
# mem_limit: 8M
# restart: on-failure
# # etcd:
# # container_name: milvus-etcd
# # image: quay.io/coreos/etcd:v3.5.18
# # environment:
# # - ETCD_AUTO_COMPACTION_MODE=revision
# # - ETCD_AUTO_COMPACTION_RETENTION=1000
# # - ETCD_QUOTA_BACKEND_BYTES=4294967296
# # - ETCD_SNAPSHOT_COUNT=50000
# # volumes:
# # - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
# # command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
# # healthcheck:
# # test: ["CMD", "etcdctl", "endpoint", "health"]
# # interval: 30s
# # timeout: 20s
# # retries: 3
# # minio:
# # container_name: milvus-minio
# # image: minio/minio:RELEASE.2023-03-20T20-16-18Z
# # environment:
# # MINIO_ACCESS_KEY: minioadmin
# # MINIO_SECRET_KEY: minioadmin
# # ports:
# # - "9001:9001"
# # - "9000:9000"
# # volumes:
# # - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
# # command: minio server /minio_data --console-address ":9001"
# # healthcheck:
# # test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
# # interval: 30s
# # timeout: 20s
# # retries: 3
# # standalone:
# # container_name: milvus-standalone
# # image: milvusdb/milvus:v2.5.10
# # command: ["milvus", "run", "standalone"]
# # security_opt:
# # - seccomp:unconfined
# # environment:
# # ETCD_ENDPOINTS: etcd:2379
# # MINIO_ADDRESS: minio:9000
# # volumes:
# # - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
# # healthcheck:
# # test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
# # interval: 30s
# # start_period: 90s
# # timeout: 20s
# # retries: 3
# # ports:
# # - "19530:19530"
# # - "9091:9091"
# # depends_on:
# # - "etcd"
# # - "minio"
# # db:
# # image: mysql/mysql-server
# # environment:
# # MYSQL_USER: 'user'
# # MYSQL_PASSWORD: 'password'
# # MYSQL_ROOT_PASSWORD: 'aa123456'
# # ports:
# # - 3306:3306
# # volumes:
# # - dbgpt-myql-db:/var/lib/mysql
# # - ./docker/examples/my.cnf:/etc/my.cnf
# # - ./docker/examples/sqls:/docker-entrypoint-initdb.d
# # - ./assets/schema/dbgpt.sql:/docker-entrypoint-initdb.d/dbgpt.sql
# # restart: unless-stopped
# # webserver:
# # image: eosphorosai/dbgpt-openai:latest
# # command: dbgpt start webserver --config /app/configs/dbgpt-graphrag.toml
# # environment:
# # - SILICONFLOW_API_KEY=${SILICONFLOW_API_KEY}
# # - MYSQL_PASSWORD=aa123456
# # - MYSQL_HOST=db
# # - MYSQL_PORT=3306
# # - MYSQL_DATABASE=dbgpt
# # - MYSQL_USER=root
# # - OPENAI_API_KEY=sk-UIpD9DohtE0Ok4wtFdC21668Dc3241629e8aA05d5dAeFdA1
# # volumes:
# # - ./configs:/app/configs
# # - /data:/data
# # # May be you can mount your models to container
# # - /data/models:/app/models
# # - dbgpt-data:/app/pilot/data
# # - dbgpt-message:/app/pilot/message
# # depends_on:
# # - db
# # - tugraph
# # ports:
# # - 5670:5670/tcp
# # # webserver may be failed, it must wait all sqls in /docker-entrypoint-initdb.d execute finish.
# # restart: unless-stopped
# # networks:
# # - dbgptnet
# # ipc: host
# # tugraph:
# # image: tugraph/tugraph-runtime-centos7:4.5.1
# # command: lgraph_server -d run --enable_plugin true
# # ports:
# # - 7070:7070
# # - 7687:7687
# # - 9090:9090
# # container_name: tugraph_demo
# # restart: unless-stopped
# # volumes:
# # dbgpt-myql-db:
# # dbgpt-data:
# # dbgpt-message:
# # dbgpt-alembic-versions:
docker-compose.yml
View file @
2c60b355
...
@@ -12,122 +12,11 @@ services:
...
@@ -12,122 +12,11 @@ services:
ports
:
ports
:
-
"
8000:8000"
-
"
8000:8000"
entrypoint
:
/app/myapp
entrypoint
:
/app/myapp
depends_on
:
-
standalone
-
webserver
docker-host
:
docker-host
:
image
:
qoomon/docker-host
image
:
qoomon/docker-host
cap_add
:
[
'
NET_ADMIN'
,
'
NET_RAW'
]
cap_add
:
[
'
NET_ADMIN'
,
'
NET_RAW'
]
mem_limit
:
8M
mem_limit
:
8M
restart
:
on-failure
restart
:
on-failure
# etcd:
# container_name: milvus-etcd
# image: quay.io/coreos/etcd:v3.5.18
# environment:
# - ETCD_AUTO_COMPACTION_MODE=revision
# - ETCD_AUTO_COMPACTION_RETENTION=1000
# - ETCD_QUOTA_BACKEND_BYTES=4294967296
# - ETCD_SNAPSHOT_COUNT=50000
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
# command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
# healthcheck:
# test: ["CMD", "etcdctl", "endpoint", "health"]
# interval: 30s
# timeout: 20s
# retries: 3
# minio:
# container_name: milvus-minio
# image: minio/minio:RELEASE.2023-03-20T20-16-18Z
# environment:
# MINIO_ACCESS_KEY: minioadmin
# MINIO_SECRET_KEY: minioadmin
# ports:
# - "9001:9001"
# - "9000:9000"
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
# command: minio server /minio_data --console-address ":9001"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
# interval: 30s
# timeout: 20s
# retries: 3
# standalone:
# container_name: milvus-standalone
# image: milvusdb/milvus:v2.5.10
# command: ["milvus", "run", "standalone"]
# security_opt:
# - seccomp:unconfined
# environment:
# ETCD_ENDPOINTS: etcd:2379
# MINIO_ADDRESS: minio:9000
# volumes:
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
# interval: 30s
# start_period: 90s
# timeout: 20s
# retries: 3
# ports:
# - "19530:19530"
# - "9091:9091"
# depends_on:
# - "etcd"
# - "minio"
# db:
# image: mysql/mysql-server
# environment:
# MYSQL_USER: 'user'
# MYSQL_PASSWORD: 'password'
# MYSQL_ROOT_PASSWORD: 'aa123456'
# ports:
# - 3306:3306
# volumes:
# - dbgpt-myql-db:/var/lib/mysql
# - ./docker/examples/my.cnf:/etc/my.cnf
# - ./docker/examples/sqls:/docker-entrypoint-initdb.d
# - ./assets/schema/dbgpt.sql:/docker-entrypoint-initdb.d/dbgpt.sql
# restart: unless-stopped
# webserver:
# image: eosphorosai/dbgpt-openai:latest
# command: dbgpt start webserver --config /app/configs/dbgpt-graphrag.toml
# environment:
# - SILICONFLOW_API_KEY=${SILICONFLOW_API_KEY}
# - MYSQL_PASSWORD=aa123456
# - MYSQL_HOST=db
# - MYSQL_PORT=3306
# - MYSQL_DATABASE=dbgpt
# - MYSQL_USER=root
# - OPENAI_API_KEY=sk-UIpD9DohtE0Ok4wtFdC21668Dc3241629e8aA05d5dAeFdA1
# volumes:
# - ./configs:/app/configs
# - /data:/data
# # May be you can mount your models to container
# - /data/models:/app/models
# - dbgpt-data:/app/pilot/data
# - dbgpt-message:/app/pilot/message
# depends_on:
# - db
# - tugraph
# ports:
# - 5670:5670/tcp
# # webserver may be failed, it must wait all sqls in /docker-entrypoint-initdb.d execute finish.
# restart: unless-stopped
# networks:
# - dbgptnet
# ipc: host
# tugraph:
# image: tugraph/tugraph-runtime-centos7:4.5.1
# command: lgraph_server -d run --enable_plugin true
# ports:
# - 7070:7070
# - 7687:7687
# - 9090:9090
# container_name: tugraph_demo
# restart: unless-stopped
# volumes:
# dbgpt-myql-db:
# dbgpt-data:
# dbgpt-message:
# dbgpt-alembic-versions:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment