diff --git a/jpo-conflictvisualizer-api/src/main/resources/application.properties b/jpo-conflictvisualizer-api/src/main/resources/application.properties new file mode 100644 index 000000000..911bb686e --- /dev/null +++ b/jpo-conflictvisualizer-api/src/main/resources/application.properties @@ -0,0 +1,44 @@ +# Copy this file to application.properties in src/main/resources and fill in the mapbox style WMS endpoint, +# including the user name, style ID, and access token +# Don't commit the mapbox token to github! + +server.port=8081 +spring.data.mongodb.database=ConflictMonitor +spring.data.mongodb.host=${DOCKER_HOST_IP:localhost} +spring.data.mongodb.port=27017 + +cmServerURL = ${CM_SERVER_URL:http://localhost:8082} +mongoTimeoutMs = ${CM_MONGO_TIMEOUT_MS:5000} +cors=* +maximumResponseSize=${CM_MAXIMUM_RESPONSE_SIZE:10000} + +spring.main.allow-circular-references=true +security.enabled=true +# logging.level.org.keycloak=DEBUG + + +load=false + + +### General Email Settings + +#Email Broker Options: sendgrid , postmark, anything else will use generic SMTP mail server. +emailBroker=${CM_EMAIL_BROKER} +emailFromAddress=${CM_EMAIL_FROM_ADDRESS} + + +### Spring Mail Settings +spring.mail.host=localhost +spring.mail.port=1025 +spring.mail.properties.mail.smtp.auth=false +spring.mail.properties.mail.smtp.starttls.enable=true + + + +### SendGrid Email Settings +sendgrid.username=${CM_SENDGRID_USERNAME} +sendgrid.password=${CM_SENDGRID_PASSWORD} + + +### Postmark Email Settings +postmark.api.secretKey=${CM_POSTMARK_SECRET_KEY} \ No newline at end of file