Skip to content

Commit 9cb24c9

Browse files
Update README for v4: Docker image tag and default versions
1 parent f580967 commit 9cb24c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Self-host the DiceBear avatar API for privacy-by-design and commercial use. Buil
1111
### With Docker
1212

1313
```sh
14-
docker run --tmpfs /run --tmpfs /tmp -p 3000:3000 -i -t dicebear/api:3
14+
docker run --tmpfs /run --tmpfs /tmp -p 3000:3000 -i -t dicebear/api:4
1515
```
1616

1717
Or with `docker-compose.yml`:
1818

1919
```yaml
2020
services:
2121
dicebear:
22-
image: dicebear/api:3
22+
image: dicebear/api:4
2323
restart: always
2424
ports:
2525
- '3000:3000'
@@ -49,7 +49,7 @@ npm start
4949
| `HOST` | `0.0.0.0` | Host to bind to (all IPv4 addresses by default). |
5050
| `LOGGER` | `0` | Enable request logger (1 = on, 0 = off). |
5151
| `WORKERS` | `1` | Number of Node.js worker threads. |
52-
| `VERSIONS` | `5,6,7,8,9` | Comma-separated list of supported DiceBear major versions. |
52+
| `VERSIONS` | `10` | Comma-separated list of supported DiceBear major versions. |
5353
| `CACHE_CONTROL_AVATARS` | `31536000` | Cache duration for avatar responses in seconds (1 year). |
5454
| `PNG` | `1` | Enable the PNG endpoint (1 = on, 0 = off). |
5555
| `PNG_SIZE_MIN` | `1` | Minimum allowed PNG size in px. |

0 commit comments

Comments
 (0)