From c39cc8c85ebbea49e2cc611b0e6775ed0545c008 Mon Sep 17 00:00:00 2001 From: tillias Date: Mon, 12 Oct 2020 23:44:15 +0200 Subject: [PATCH] Custom port for Spring Boot App #41 --- docker-compose.yml | 3 ++- src/main/resources/config/application-prod.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9b29583..7851ec7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,5 +20,6 @@ services: DB_PASSWORD: kEt#uR6M DB_USER: postgres CSP_IMAGE_SRC: '*' + SERVER_PORT: 2080 ports: - - 8080:8080 + - 8080:2080 diff --git a/src/main/resources/config/application-prod.yml b/src/main/resources/config/application-prod.yml index 15d1e74..d590a2b 100644 --- a/src/main/resources/config/application-prod.yml +++ b/src/main/resources/config/application-prod.yml @@ -75,7 +75,7 @@ spring: # ciphers: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 ,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 ,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 ,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,TLS_RSA_WITH_CAMELLIA_128_CBC_SHA # =================================================================== server: - port: 8080 + port: ${SERVER_PORT} compression: enabled: true mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json