Skip to content

Configuration and Docker information for private Ubuntu server

Notifications You must be signed in to change notification settings

simonottosen/ubuntu-server-config

Repository files navigation

Server configuration

To-do

  • Environment variable also for the fetch-time container
  • Expose model in seperate container

Usage of the API

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

Deployment

Deploy the latest to the hook

simonottosen@servermat:~/mediaserver$ https POST webhook.simonottosen.dk/webhook/hooks/deploy

When starting up a new server from bare metal

  • Run git pull on the repostitory
  • Set up .env (can be found in Dashlane)
  • Run script.sh
  • Test that the automatic deployment works

About

Configuration and Docker information for private Ubuntu server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published