Skip to content

Commit f3aa5ce

Browse files
committed
chore: update code style for readme
1 parent 24ce5b6 commit f3aa5ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ By changing the src, size, format parameters,
3737
you can choose the path to the image,
3838
the final size and the image format.
3939

40-
### Use
40+
## Use
4141

4242
To start the microservice in production, use the command:
4343

4444
```sh
4545
docker run -d --restart always -p 3000:3000 mtsrus/image-optimize
4646
```
4747

48-
### Container parameters
48+
## Container parameters
4949

5050
- `-e PORT=3000` - the port on which the microservice will be launched, default 3000.
5151
- `-e ALLOW_SIZES="100,200,1024-1920"` - an array of allowed sizes for the resulting images,
@@ -60,7 +60,7 @@ docker run -d --restart always -p 3000:3000 mtsrus/image-optimize
6060
- `-e SHARP_CONCURRENCY=0` - number of threads libvips' should create to process each image,
6161
default 0 (will reset to the number of CPU cores).
6262

63-
### Components for web
63+
## Components for web
6464

6565
To optimize images in the browser, there is a component for React. You can find it
6666
[by following the link](https://github.com/MobileTeleSystems/image-optimize-react).

0 commit comments

Comments
 (0)