fix: use quotes outside of key=value in docker-compose.yml

fix: set HOST=0.0.0.0 by default in api's dockerfile
This commit is contained in:
Wentao Lyu 2023-03-11 16:14:11 +08:00
parent 8604030404
commit 16c9589058
2 changed files with 7 additions and 5 deletions

View file

@ -17,11 +17,11 @@ services:
image: node-api
restart: always
environment:
- PORT=3080
- MONGO_URI=mongodb://mongodb:27017/chatgpt-clone
- OPENAI_KEY=""
- CHATGPT_TOKEN=""
- BING_TOKEN=""
- "PORT=3080"
- "MONGO_URI=mongodb://mongodb:27017/chatgpt-clone"
- "OPENAI_KEY="
- "CHATGPT_TOKEN="
- "BING_TOKEN="
ports:
- "9000:3080"
volumes: