Update README with Docker run command version and add Docker Compose instructions
This commit is contained in:
15
README.md
15
README.md
@@ -30,7 +30,20 @@ PORT: Port to serve the image (default: 8080)
|
||||
|
||||
## docker
|
||||
```shell
|
||||
docker run --rm -d -p 8080:8080 --name top-wallpaper -e REDIS_URL=redis -e REDIS_PORT=6379 -e REDIS_PASSWORD=pass -e REDIS_DB=0 -e ALLOWED_ORIGINS=http://localhost:8080 -e PATH=/wallpaper -e PORT=8080 siteworxpro/top-wallpaper:latest
|
||||
docker run --rm -d -p 8080:8080 --name top-wallpaper -e REDIS_URL=redis -e REDIS_PORT=6379 -e REDIS_PASSWORD=pass -e REDIS_DB=0 -e ALLOWED_ORIGINS=http://localhost:8080 -e PATH=/wallpaper -e PORT=8080 siteworxpro/top-wallpaper:v1.3.1
|
||||
```
|
||||
|
||||
## Docker Compose
|
||||
```shell
|
||||
curl -L https://gitea.siteworxpro.com/siteworxpro/top-wallpaper/raw/tag/v1.3.1/docker-compose.yml | docker compose -f - up -d
|
||||
````
|
||||
Access the app at [https://localhost](https://localhost).
|
||||
|
||||
## Embedding the Image
|
||||
You can embed the image in your HTML using the following code:
|
||||
|
||||
```html
|
||||
<img src="https://localhost" alt="Top Wallpaper" />
|
||||
```
|
||||
|
||||
## License
|
||||
|
Reference in New Issue
Block a user