- Environment variable also for the fetch-time container
- Expose model in seperate container
Get all
https://cphapi.simonottosen.dk/waitingtime
Get all times with a waiting time less that 4 minutes
https://cphapi.simonottosen.dk/waitingtime?t2waitingtime=lt.4
Select only a subset of the data
https://cphapi.simonottosen.dk/waitingtime?select=t2waitingtime,deliveryid
Get the current waiting time
https://cphapi.simonottosen.dk/waitingtime?select=t2waitingtime&order=id.desc&limit=1
Deploy the latest to the hook
simonottosen@servermat:~/mediaserver$ https POST webhook.simonottosen.dk/webhook/hooks/deploy
- Run git pull on the repostitory
- Set up .env (can be found in Dashlane)
- Run script.sh
- Test that the automatic deployment works