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

This commit is contained in:
Piotr Biernat 2022-12-02 22:04:41 +01:00
parent 1c68b310b7
commit 9d46b89873
3 changed files with 7 additions and 16 deletions

View File

@ -1,9 +1,9 @@
FROM traefik:v2.9.5 FROM traefik:v2.9.5
LABEL author="Piotr Biernat" LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL service="api-gateway" LABEL dev.egommerce.image.vendor="Egommerce"
LABEL vendor="Egommerce" LABEL dev.egommerce.image.service="api-gateway"
LABEL version="1.0" LABEL dev.egommerce.image.version="1.0"
COPY ./api-gateway/etc /etc/traefik COPY ./api-gateway/etc /etc/traefik
COPY ./api-gateway/plugins /plugins-local COPY ./api-gateway/plugins /plugins-local

View File

@ -1,12 +1,3 @@
# apigw-service # api-gateway
API Gateway - simple Nginx image with pre-configured reverse proxy's API Gateway - based on Traefik
Generowanie Klucza autoryzacji
$ openssl rand -base64 24
Budowanie obrazu:
$ sh deploy/image-build.sh
Opublikowanie obrazu:
$ sh deploy/image-push.sh

View File

@ -56,7 +56,7 @@ providers:
consulCatalog: consulCatalog:
exposedByDefault: false exposedByDefault: false
# serviceName: api-gateway # serviceName: api-gateway
refreshInterval: 30s refreshInterval: 5s
endpoint: endpoint:
address: api-registry:8500 address: api-registry:8500