From 9d46b898730cf5272049adc2dccccdf69c095f5a Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 2 Dec 2022 22:04:41 +0100 Subject: [PATCH] fixes --- Dockerfile | 8 ++++---- README.md | 13 ++----------- api-gateway/etc/traefik.yml | 2 +- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7df509a..bbb5e3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM traefik:v2.9.5 -LABEL author="Piotr Biernat" -LABEL service="api-gateway" -LABEL vendor="Egommerce" -LABEL version="1.0" +LABEL dev.egommerce.image.author="Piotr Biernat" +LABEL dev.egommerce.image.vendor="Egommerce" +LABEL dev.egommerce.image.service="api-gateway" +LABEL dev.egommerce.image.version="1.0" COPY ./api-gateway/etc /etc/traefik COPY ./api-gateway/plugins /plugins-local diff --git a/README.md b/README.md index c050492..d28489f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,3 @@ -# apigw-service +# api-gateway -API Gateway - simple Nginx image with pre-configured reverse proxy's - -Generowanie Klucza autoryzacji -$ openssl rand -base64 24 - -Budowanie obrazu: -$ sh deploy/image-build.sh - -Opublikowanie obrazu: -$ sh deploy/image-push.sh +API Gateway - based on Traefik diff --git a/api-gateway/etc/traefik.yml b/api-gateway/etc/traefik.yml index 78ea2fc..2a8f978 100644 --- a/api-gateway/etc/traefik.yml +++ b/api-gateway/etc/traefik.yml @@ -56,7 +56,7 @@ providers: consulCatalog: exposedByDefault: false # serviceName: api-gateway - refreshInterval: 30s + refreshInterval: 5s endpoint: address: api-registry:8500