Skip to content

Commit ff1100f

Browse files
committed
README & docker-compose-prod.yml formatting
1 parent 4f6f3cf commit ff1100f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ Send POST request to `/api/generate` endpoint exposed by service with question i
3030

3131
For example:
3232
```shell
33-
curl -i -H 'Content-Type: application/json' -d '{ "prompt": "Tell me about Belarus" }' -X POST http://localhost:8090/api/generate
33+
curl -i -H 'Content-Type: application/json' \
34+
-d '{ "prompt": "Tell me about Belarus" }' \
35+
-X POST http://localhost:8090/api/generate
3436
```
3537

3638
```shell
37-
curl -i -H 'Content-Type: application/json' -d '{ "prompt": "Describe primitive types in Java" }' -X POST http://localhost:8090/api/generate
39+
curl -i -H 'Content-Type: application/json' \
40+
-d '{ "prompt": "Describe primitive types in Java" }' \
41+
-X POST http://localhost:8090/api/generate
3842
```
3943

4044
## Appendix: communication with Ollama started inside a Docker container

docker-compose-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
- ./entrypoint.sh:/entrypoint.sh
2020
pull_policy: missing
2121
restart: no
22-
entrypoint: [ "/usr/bin/bash", "/entrypoint.sh", "gemma3:1b"]
22+
entrypoint: [ "/usr/bin/bash", "/entrypoint.sh", "gemma3:1b" ]
2323

2424
service:
2525
image: openjdk:21-jdk-slim

0 commit comments

Comments
 (0)