Use environment vars from Coolify instead of env_file
This commit is contained in:
parent
c20d293e5f
commit
ead97087ac
1 changed files with 5 additions and 2 deletions
|
|
@ -4,8 +4,11 @@ services:
|
||||||
# 加速镜像(如拉取缓慢可替换上方地址)
|
# 加速镜像(如拉取缓慢可替换上方地址)
|
||||||
# image: ghcr.nju.edu.cn/666ghj/mirofish:latest
|
# image: ghcr.nju.edu.cn/666ghj/mirofish:latest
|
||||||
container_name: mirofish
|
container_name: mirofish
|
||||||
env_file:
|
environment:
|
||||||
- .env
|
- LLM_API_KEY=${LLM_API_KEY}
|
||||||
|
- LLM_BASE_URL=${LLM_BASE_URL}
|
||||||
|
- LLM_MODEL_NAME=${LLM_MODEL_NAME}
|
||||||
|
- ZEP_API_KEY=${ZEP_API_KEY}
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
- "5001"
|
- "5001"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue