README updates

This commit is contained in:
2025-12-20 19:25:47 -08:00
parent 07bcf0073e
commit 259ac9c652

View File

@@ -47,7 +47,9 @@ docker run -d --name speed-data -e PORT=8080 -p 8080:8080 --restart unless-stopp
Alternatively, run with a host bind mount (for direct access to files on the host): Alternatively, run with a host bind mount (for direct access to files on the host):
```bash ```bash
docker rm -f speed-data || true \ docker build -t speed-data-app .
docker rm -f $(docker ps -a -q --filter name=speed\-data --filter status=running) || true \
&& docker volume create speed-data-volume && \ && docker volume create speed-data-volume && \
docker run -d --name speed-data -e CRON_MINUTE=18 -e PORT=8080 -p 8585:8080 --restart unless-stopped \ docker run -d --name speed-data -e CRON_MINUTE=18 -e PORT=8080 -p 8585:8080 --restart unless-stopped \
-v ~/docker-data/speed-data-app/data:/var/www/data/speed speed-data-app -v ~/docker-data/speed-data-app/data:/var/www/data/speed speed-data-app