File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ docker run -d -p 8080:8080 --name=azure-openai-proxy \
6767
6868# config by file
6969docker run -d -p 8080:8080 --name=azure-openai-proxy \
70- -v /path/to/config-file .yaml:/app/config /config.yaml \
70+ -v /path/to/config.yaml:/app/config.yaml \
7171 stulzq/azure-openai-proxy:latest
7272````
7373
@@ -197,8 +197,6 @@ networks:
197197
198198The configuration file supports different endpoints and API keys for each model.
199199
200-
201-
202200config.yaml
203201
204202` ` ` ` yaml
@@ -221,7 +219,20 @@ deployment_config:
221219 api_version : " 2023-03-15-preview"
222220` ` ` `
223221
222+ By default, it reads `<workdir>/config.yaml`, and you can pass the path through the parameter `-c config.yaml`.
223+
224+ docker-compose :
225+
226+ ` ` ` ` yaml
227+ azure-openai :
228+ image : stulzq/azure-openai-proxy
229+ ports :
230+ - 8080:8080
231+ volumes :
232+ - /path/to/config.yaml:/app/config.yaml
233+ networks :
234+ - chatgpt-ns
235+ ` ` ` `
224236
225237
226- By default, it reads `<workdir>/config.yaml`, and you can pass the path through the parameter `-c config.yaml`.
227238
You can’t perform that action at this time.
0 commit comments