jon4hz / webhook-cd

Webhook server which restarts containers. Useful for CI/CD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook-cd

Python linting

About

This is a simple webhook server, written in python. Once the webhook is triggered (from a GitHub Action for example), the script automatically updates predefined containers using the docker-py library.

How to

- More notes than instructions -

  • Create venv
  • Create systemd service
  • Create config file
  • Enable & start systemd service

Better instructions might follow soon

About

Webhook server which restarts containers. Useful for CI/CD


Languages

Language:Python 99.2%Language:Dockerfile 0.8%