open-api-key

This commit is contained in:
Mithra 2023-11-20 18:21:25 +05:30 committed by GitHub
parent 33c856c713
commit 43d630a42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,9 @@ services:
env_file: env_file:
- .env - .env
# or environment:
# environment: - BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local
#- BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local - OPENAI_API_KEY=${OPENAI_API_KEY:-} # works when you have the OPENAI_API_KEY set in your .env file
# - OPENAI_API_KEY=your_openai_api_key
ports: ports:
- "${BACKEND_PORT:-7001}:${BACKEND_PORT:-7001}" - "${BACKEND_PORT:-7001}:${BACKEND_PORT:-7001}"