Skip to content

Commit

Permalink
Added amarillo-metrics to requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Francia Csaba authored and hbruch committed Mar 22, 2024
1 parent 338ecd7 commit 7a5a89f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ In the top directory, run `pytest amarillo/tests`.

## Docker

Based on [tiangolo/uvicorn-gunicorn:python3.9-slim](https://github.com/tiangolo/uvicorn-gunicorn-docker)
Based on [tiangolo/uvicorn-gunicorn:python3.10-slim](https://github.com/tiangolo/uvicorn-gunicorn-docker)

- build `docker build -t amarillo --build-arg="PLUGINS=amarillo-metrics" .`
- run `docker run --rm --name amarillo -p 8000:80 -e MAX_WORKERS="1" -e ADMIN_TOKEN=$ADMIN_TOKEN -e RIDE2GO_TOKEN=$RIDE2GO_TOKEN -e TZ=Europe/Berlin -v $(pwd)/data:/app/data amarillo`
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
amarillo-metrics==0.0.6
fastapi[all]==0.109.0
geopandas==0.14
uvicorn[standard]==0.23.2
Expand All @@ -13,4 +14,4 @@ Shapely==2.0.2
pygeos==0.14
pyproj==3.6.1
geojson-pydantic==1.0.1
watchdog==3.0.0
watchdog==3.0.0

0 comments on commit 7a5a89f

Please sign in to comment.