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