Skip to content
Snippets Groups Projects
Commit 346bd792 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

update README

parent baea2b2c
Branches main
No related tags found
No related merge requests found
......@@ -10,11 +10,24 @@ Global annual (2017-2022) land use land cover classification in ten classes at 1
---
## Use
Pull the most up to date image:
>docker pull registry.git.nilu.no/fact/data/fact_lulc:latest
The docker container can be started with the following code:
>docker run -t -i --name fact_lulc -p 5004:5000 -d registry.git.nilu.no/fact/data/fact_lulc:latest
1. Through the command line:
```bash
docker pull registry.git.nilu.no/fact/data/fact_lulc:latest
docker run -t -i --name fact_lulc -p 5004:5000 -d registry.git.nilu.no/fact/data/fact_lulc:latest
```
2. Through a docker-compose file:
```yaml
version: '3.8'
services:
fact_lulc:
image: registry.git.nilu.no/fact/data/fact_lulc:latest
container_name: fact_lulc
ports:
- "5004:5000"
restart: unless-stopped
```
which could be executed with `docker-compose up fact_lulc -d`.
The service could be queried passing the JSON polygon object as in the following, but please **note** that the entrypoint requires the year and the ones available are **2017-2022**:
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment