Skip to content

Commit 728d693

Browse files
committed
chore: update README
1 parent 65ac9a5 commit 728d693

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ docker run -d -p 8080:8080 --name=azure-openai-proxy \
6767

6868
# config by file
6969
docker 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

198198
The configuration file supports different endpoints and API keys for each model.
199199

200-
201-
202200
config.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

0 commit comments

Comments
 (0)