Files
mchat/docker-compose.yml
2026-04-04 16:30:54 +08:00

47 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
tokenizer:
image: tokenizer:1.0.0
container_name: tokenizer
# 容器内端口3002
restart: unless-stopped
keywords-filter:
image: keywords-filter:1.0.0
container_name: keywords-filter
# 容器内端口50053
restart: unless-stopped
chatgpt-web-backend:
image: chatgpt-web-backend:1.0.0
container_name: chatgpt-web-backend
# 容器内端口7080
environment:
TOKENIZER_BASE_URL: ${TOKENIZER_BASE_URL}
command:
- /app/server
- --frontend-path
- www
- --openapi-key
- ${MOONSHOT_API_KEY}
- --openapi-base-url
- ${OPENAI_BASE_URL}
- --openai-model
- ${OPENAI_MODEL}
- --openai-temperature
- "${OPENAI_TEMPERATURE}"
- --openai-presence-penalty
- "${OPENAI_PRESENCE_PENALTY}"
- --openai-frequency-penalty
- "${OPENAI_FREQUENCY_PENALTY}"
restart: unless-stopped
chatgpt-web-frontend:
image: chatgpt-web-frontend:1.0.0
container_name: chatgpt-web-frontend
depends_on:
- chatgpt-web-backend
# 容器内端口80
ports:
- "${FRONTEND_PORT}:80"
restart: unless-stopped