Sign inSign up

marclandis/webhookfeeds

By marclandis

•Updated over 1 year ago

A simple RESTful API to create and get feeds

Image
0

315

marclandis/webhookfeeds repository overview

⁠Webhook Feeds

⁠About

Webhook Feeds is a simple RESTful API to create and get feeds. For example, you can build a feed based on notification from Diun⁠, which was the reason to start this project.

⁠Documentation

OpenAPI Documentation⁠ is available when running the application.

⁠Docker Compose with SQLite database:
services:
  webhookfeeds:
    image: marclandis/webhookfeeds:latest
    container_name: webhookfeeds
    volumes:
      - database:/usr/src/app/database # SQLite database location
      - templates_custom:/usr/src/app/templates/custom # Custom templates location
    ports:
      - 8000:80
    restart: unless-stopped

volumes:
  database:
  templates_custom:
⁠Docker Compose with PostgresSQL database:
services:
  webhookfeeds:
    image: marclandis/webhookfeeds:latest
    container_name: webhookfeeds
    environment:
      - DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
    volumes:
      - templates_custom:/usr/src/app/templates/custom # Custom templates location
    ports:
      - 8000:80
    restart: unless-stopped
    
  postgres:
    image: postgres:17.2
    hostname: postgres
    container_name: postgres
    restart: unless-stopped
    volumes:
      - postgres_data:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: ${POSTGRES_DB}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      
volumes:
  postgres_data:
  templates_custom:

.env file:

POSTGRES_DB=webhookfeeds
POSTGRES_USER=webhookfeeds
POSTGRES_PASSWORD=Password1234!
⁠Contributing

Feel free to contribute by starring the project, raising issues or even open a pull request.

⁠License

MIT - See LICENSE.md⁠ for more details.

Tag summary

Content type

Image

Digest

sha256:c3d092db4…

Size

49.3 MB

Last updated

over 1 year ago

docker pull marclandis/webhookfeeds