Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

keboola/temp-webhooks-api

Repository files navigation

Webhooks API

Dev Image

docker-compose build dev
docker-compose run --rm -u "$(id -u):$(id -g)" dev bash

Generate API

Generate API from api/webhooks/design.go. Run in dev image:

make generate-api

Copy dependencies to the /vendor directory:

make fix

Api Image

Build image:

docker-compose build api

Start server:

docker-compose run --rm -u "$(id -u):$(id -g)" -e KBC_STORAGE_API_HOST="connection.keboola.com" --service-ports api

Open: http://localhost:8888

Deployment

The service is deployed to Azure Container Instances to subscription Keboola 2022-03 Hackathon and resource group zeleni_webhooks.

The built image has to be pushed to repository keboolawebhooks.azurecr.io.

The deployment was created manually by command: az container create --resource-group zeleni_webhooks --file deploy-aci.yaml.

The update can be done by updating the docker image in the repository and restarting the service by command az container restart --name keboolawebhooks --resource-group zeleni_webhooks

License

MIT licensed, see LICENSE file.

About

Hackathon Webhooks API Experiment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages