...
Code Block |
---|
# location of database - typically, it will point at localhost, but # it's also possible to change location of MySQL server. # Docker based installation (docker-compose) will change it to db:3306 # In case of docker-compose based installation, MySQL is visible as another host # Note that you don't have to change anything spring.datasource.url=jdbc:mysql://localhost:3306/itm_catalog_qt?serverTimezone=UTC # Default user name and password for database connection. Note that this connection # will not work (by default) for external hosts. This is why we don't quite care about # user/pass - however, you can alter these and make sure they don't contain default values spring.datasource.username=itm_catalog_rw spring.datasource.password=itm_catalog_rw spring.jpa.properties.hibernate.jdbc.time_zone=UTC # In case of errors we want to embed error message as well (so we better know what went wrong) server.error.include-message=always # We definitely don't want to log SQL queries. However, if you want to see them, feel free # to enable this property spring.jpa.show-sql=false # We don't want to generate DB schema from bean classes spring.jpa.hibernate.ddl-auto=none # This is additional http handler, on another port # We need this one, in case we plan to use https # This is tricky :) # If server.ssl fields are set, this field defines https port # If server.ssl fields are not set, this field defines http port server.port=8080 # However, we need http port server.http.port=8081 server.http.interface=0.0.0.0 keycloak.realm = fair4fusion-docker-demo keycloak.auth-server-url=https://sso.apps.paas-dev.psnc.pl/ keycloakanyway (for some components). This is why we expose services on # http anyway. At the and we can end up with two different configurations # http (8080) and http (8081) - no certificates # https (8443) and http (8081) - certificates server.http.port=8081 server.http.interface=0.0.0.0 # Keycloak settings keycloak.realm = fair4fusion-docker-demo keycloak.auth-server-url=https://sso.apps.paas-dev.psnc.pl/ keycloak.resource= catalogqt-cli keycloak.realm-key= MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjOCDGJsBi7rxVjf0RQb8pm0LAGsEKFcH7g7mKSqpFvp1uOypUeiYe5dwlwkXAXaYeYs0J70LB8E6mtVUcykbmp+XrqD1nn3yfPxlVLSg7iCvJqMUq8udsUbsyT3M/32/kssXurgY7rX5JhdtkYeAgq+9ifIjLQZhALg+FvEsX9C+D30WQDAChEljlReb+Y4UTz2aIqz9C+90bqG1ZIX4o3Dli1PZDosTNM444CwDTbrFrenctOTDtGPodo9k2jze8McZFAIrdUYi9mKD8v0frs8NUUW/TQj9h62swXdvVAfzYTd+R7aMRG0eXMV3rJc38DfsCsF7bkqSg0b4l8GcaQIDAQAB keycloak.bearer-only = true keycloak.public-client=true keycloak.principal-attribute=preferred_username spring.mvc.dispatch-options-request=true # If you plan to use HTTPS, make sure to uncomment this one #server.ssl.key-store=file:///home/imas/cert/keystore.p12 #server.ssl.key-store-password=catalogqt #server.ssl.keyStoreType=PKCS12 #server.ssl.keyAlias=tomcat = MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjOCDGJsBi7rxVjf0RQb8pm0LAGsEKFcH7g7mKSqpFvp1uOypUeiYe5dwlwkXAXaYeYs0J70LB8E6mtVUcykbmp+XrqD1nn3yfPxlVLSg7iCvJqMUq8udsUbsyT3M/32/kssXurgY7rX5JhdtkYeAgq+9ifIjLQZhALg+FvEsX9C+D30WQDAChEljlReb+Y4UTz2aIqz9C+90bqG1ZIX4o3Dli1PZDosTNM444CwDTbrFrenctOTDtGPodo9k2jze8McZFAIrdUYi9mKD8v0frs8NUUW/TQj9h62swXdvVAfzYTd+R7aMRG0eXMV3rJc38DfsCsF7bkqSg0b4l8GcaQIDAQAB keycloak.bearer-only = true keycloak.public-client=true keycloak.principal-attribute=preferred_username spring.mvc.dispatch-options-request=true # If you plan to use HTTPS, make sure to uncomment this one # You have to make sure to generate and configure SSL certificate for your domain #server.ssl.key-store=file:///home/imas/cert/keystore.p12 #server.ssl.key-store-password=catalogqt #server.ssl.keyStoreType=PKCS12 #server.ssl.keyAlias=tomcat # Should we check authorisation header or not. This feature toggle enables sort of "single user mode" # It's useful in case you don't have Keycloak and don't care about user roles. Once set to "false" # it will make Web Services behave as if there is only one user swagger-ui.authorization.header=true |
...