setup for async release

This commit is contained in:
Elias Papanikitas
2024-03-21 15:34:41 +01:00
parent 0e63fcc8b0
commit b00983c580
2 changed files with 12 additions and 0 deletions

View File

@@ -316,6 +316,10 @@ defmodule Dispatcher do
forward conn, path, "http://kbo-data-sync/sync-kbo-data/"
end
post "/sync-ovo-number/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://sync-ovo-numbers/sync-from-kbo/"
end
get "/ldes/*path", %{ layer: :api_services } do
forward conn, path, "http://ldes-backend/"
end

View File

@@ -306,6 +306,14 @@ services:
- "logging=true"
restart: always
logging: *default-logging
sync-ovo-numbers:
image: lblod/sync-ovo-numbers-service:0.1.0
links:
- db:database
labels:
- "logging=true"
restart: always
logging: *default-logging
################################################################################
# DELTA GENERAL