mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-21 05:44:09 -07:00
parent
be98f54e51
commit
9cf72d3666
1 changed files with 9 additions and 6 deletions
|
@ -18,13 +18,16 @@ services:
|
|||
count: all
|
||||
capabilities: [gpu]
|
||||
copilot_proxy:
|
||||
image: moyix/copilot_proxy:latest
|
||||
# For dockerhub version
|
||||
# image: moyix/copilot_proxy:latest
|
||||
# command: python3 -m flask run --host=0.0.0.0 --port=5000
|
||||
# For local build
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: copilot_proxy/Dockerfile
|
||||
command: uvicorn app:app --host $API_HOST --port $API_PORT
|
||||
build:
|
||||
context: .
|
||||
dockerfile: copilot_proxy/Dockerfile
|
||||
command: uvicorn app:app --host 0.0.0.0 --port 5000
|
||||
env_file:
|
||||
- .env
|
||||
# You can modify this env file to configure your proxy environment
|
||||
- example.env
|
||||
ports:
|
||||
- "5001:${API_PORT}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue