G4SE metadata harvesting service
This container periodically harvests data from a share containing xml file using a csv index on the share
docker build --rm -t geometalab/g4se-harvester .
There are 2 enviroment Variables all of which are required to successfully run the container:
- DATABASE_URL: URL to the PostgreSQL database with port, username and password. If the database is on the host dont use localhost but the ip of the docker network interface (found with sudo ip addr show docker0)
- FILESHARE_URL: URL to the fileshare root containing xml files and a csv index
-sudo docker run -t -i -d --restart=always --name harvester -e DATABASE_UR