Fix a potential race condition when starting application
Fix a potential race condition when starting application

If Endpoint is started before Repo process, an incoming HTTP request
would error out as the application doesn't have access to the database.
More info: https://github.com/phoenixframework/phoenix/pull/1595

evercam/evercam-media,evercam/evercam-server,evercam/evercam-server