This commit is contained in:
parent
1c68b310b7
commit
9d46b89873
@ -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
|
||||
|
13
README.md
13
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
|
||||
|
@ -56,7 +56,7 @@ providers:
|
||||
consulCatalog:
|
||||
exposedByDefault: false
|
||||
# serviceName: api-gateway
|
||||
refreshInterval: 30s
|
||||
refreshInterval: 5s
|
||||
endpoint:
|
||||
address: api-registry:8500
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user