This commit is contained in:
parent
1c68b310b7
commit
9d46b89873
@ -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
|
||||||
|
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
|
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
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user