Add drone yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kevin Alberts 2025-07-15 13:51:09 +02:00
parent 3519df4299
commit b984352d92
2 changed files with 34 additions and 0 deletions

18
.drone.yml Normal file
View file

@ -0,0 +1,18 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker
settings:
registry: git.kurocon.nl
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: git.kurocon.nl/kurocon/gpsmultiplexer
tags:
- latest

View file

@ -0,0 +1,16 @@
GPS Multiplexer
===============
Recieves a request on /ingest, and forwards it to two other services configured via environment variables:
REITTI_BASE_URL = Base url of first service
REITTI_API_KEY = API key parameter passed to the request (?api_key=YOUR_KEY)
DAWARICH_BASE_URL = Base url of second service
DAWARICH_API_KEY = API key parameter passed to the request (?api_key=YOUR_KEY)
Health check page available on root /
Should return "OK"