From 3109c2899a9ffc75121cee58fb23c3ae7232972b Mon Sep 17 00:00:00 2001 From: Luke <lomah001@gold.ac.uk> Date: Sun, 14 Apr 2019 16:15:28 +0100 Subject: [PATCH] upd: applied new properties to master branch --- src/main/resources/application.properties | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 75b3c3a..f9d5ddc 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,7 @@ +## Server Properties server.port = 5000 -#spring.profiles.active = prod #spring.profiles.active = dev +#spring.profiles.active = prod # MongoDB Atlas properties spring.data.mongodb.database = glowhouse @@ -10,6 +11,16 @@ spring.data.mongodb.uri = mongodb+srv://lomah001:r3v3r3nd_b1scU1t@glowhouse-8lcc spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS = false spring.jackson.time-zone = UTC -## Jwt settings +## Jwt Settings app.jwtSecret = JWTSuperSecretKey -app.jwtExpirationInMs = 604800000 \ No newline at end of file +app.jwtExpirationInMs = 604800000 + +## AWS Properties +cloud.aws.credentials.accessKey = AKIAIU4RE7WTMIORTNJA +cloud.aws.credentials.secretKey = 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 +cloud.aws.credentials.instanceProfile = true +cloud.aws.credentials.useDefaultAwsCredentialsChain = true +cloud.aws.region.static = eu-west-1 + + + -- GitLab