1 Star 1 Fork 3

孙先生/llmstack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.dev.yml 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
Ajay Chintala 提交于 2023-08-27 11:09 . Fix pg volume mount in dev
version: "3.8"
services:
api:
build:
context: .
cache_from:
- llmstack-api:latest
command: apiserver
volumes:
- .:/code
links:
- postgres:postgres
ports:
- 9000:9000
expose:
- 9000
env_file:
- .env.dev
cap_add:
- SYS_PTRACE
rqworker:
build:
context: .
cache_from:
- llmstack-rqworker:latest
command: rqworker
volumes:
- .:/code
depends_on:
- redis
- postgres
links:
- redis:redis
- postgres:postgres
env_file:
- .env.dev
playwright:
image: llmstack-playwright:latest
build:
context: playwright
dockerfile: Dockerfile
cache_from:
- llmstack-playwright:latest
command: npx --yes playwright launch-server --browser chromium --config /config.json
expose:
- 30000
ipc: host
user: pwuser
security_opt:
- seccomp:playwright/seccomp_profile.json
redis:
image: redis:alpine
ports:
- "26379:6379"
command: redis-server
restart: unless-stopped
volumes:
- ${REDIS_VOLUME}:/data
env_file:
- .env.dev
postgres:
image: postgres:15.1-alpine
ports:
- "25432:5432"
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
restart: unless-stopped
volumes:
- ${POSTGRES_VOLUME}:/var/lib/
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
POSTGRES_USER: ${DATABASE_USERNAME:-postgres}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:-}
PGDATA: /var/lib/postgresql/data/pgdata
env_file:
- .env.dev
weaviate:
image: semitechnologies/weaviate:1.20.5
ports:
- 28080:8080
volumes:
- ${WEAVIATE_VOLUME}:/var/lib/weaviate
environment:
QUERY_DEFAULTS_LIMIT: 20
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
DEFAULT_VECTORIZER_MODULE: text2vec-openai
ENABLE_MODULES: text2vec-openai
CLUSTER_HOSTNAME: "weaviate-node"
env_file:
- .env.dev
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sx81918/llmstack.git
git@gitee.com:sx81918/llmstack.git
sx81918
llmstack
llmstack
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385