This commit is contained in:
parent
3519df4299
commit
b984352d92
2 changed files with 34 additions and 0 deletions
18
.drone.yml
Normal file
18
.drone.yml
Normal 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
|
||||||
|
|
||||||
16
README.md
16
README.md
|
|
@ -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"
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue