Update README with Docker run command version and add Docker Compose instructions

This commit is contained in:
2025-08-08 14:56:23 -04:00
parent 7c236a49b6
commit aa1699243a

View File

@@ -30,7 +30,20 @@ PORT: Port to serve the image (default: 8080)
## docker ## docker
```shell ```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 ## License