mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
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:
parent
8604030404
commit
16c9589058
2 changed files with 7 additions and 5 deletions
|
@ -8,6 +8,8 @@ RUN npm install
|
||||||
COPY . /api/
|
COPY . /api/
|
||||||
# Make port 3080 available to the world outside this container
|
# Make port 3080 available to the world outside this container
|
||||||
EXPOSE 3080
|
EXPOSE 3080
|
||||||
|
# Expose the server to 0.0.0.0
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
# Run the app when the container launches
|
# Run the app when the container launches
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,11 @@ services:
|
||||||
image: node-api
|
image: node-api
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- PORT=3080
|
- "PORT=3080"
|
||||||
- MONGO_URI=mongodb://mongodb:27017/chatgpt-clone
|
- "MONGO_URI=mongodb://mongodb:27017/chatgpt-clone"
|
||||||
- OPENAI_KEY=""
|
- "OPENAI_KEY="
|
||||||
- CHATGPT_TOKEN=""
|
- "CHATGPT_TOKEN="
|
||||||
- BING_TOKEN=""
|
- "BING_TOKEN="
|
||||||
ports:
|
ports:
|
||||||
- "9000:3080"
|
- "9000:3080"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue