From d5e42e46e02cf28ab2615dd0a39d979f69ba5783 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Tue, 23 Apr 2024 20:05:19 -0300 Subject: [PATCH] [NS-66] - Changing to docker deploy --- src/main/resources/application-docker.yml | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/main/resources/application-docker.yml diff --git a/src/main/resources/application-docker.yml b/src/main/resources/application-docker.yml new file mode 100644 index 0000000..dd690a3 --- /dev/null +++ b/src/main/resources/application-docker.yml @@ -0,0 +1,32 @@ +server: + servlet: + context-path: / +spring: + application: + name: gateway + data: + mongodb: + uri: mongodb://mongodb/my-user +jwt: + secret: ab62914d977e2a6345493158d581a08a9f0c4823cdbde31b182a2e9d620084b1 + expiration: + time: 20400 + +springdoc: + enable-native-support: true + api-docs: + enabled: true + swagger-ui: + enabled: true + path: /swagger-ui.html + config-url: /v3/api-docs/swagger-config + urls: + - url: /v3/api-docs + name: API Gateway Service + display-name: API Gateway Service + - url: /my-storage/v3/api-docs + name: MyStorage Service + display-name: MyStorage Service +services: + my-storage: + host: http://my-storage-service \ No newline at end of file