mirror of
https://github.com/gabehf/random-image-server.git
synced 2026-03-07 21:48:15 -08:00
Update README.md
This commit is contained in:
parent
cc2fb9e2fb
commit
e562e2216c
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ services:
|
|||
environment:
|
||||
ALLOWED_EXTENSIONS: .png,.jpg # comma-separated; default: .png,.jpg,.jpeg,.webp
|
||||
ports:
|
||||
- 8888:8080
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- /path/to/my/images/:/images:ro
|
||||
restart: unless-stopped
|
||||
|
|
@ -49,4 +49,4 @@ Build & run the program
|
|||
go build -o random-image-server . && ./random-image-server
|
||||
```
|
||||
|
||||
Then navigate to `localhost:8080` and you will be served a random image from the directory.
|
||||
Then navigate to `localhost:8080` and you will be served a random image from the directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue