...
Warning |
---|
Change both ports in lines , 14 and 15 because ports 8080 and 8081 is are already taken by running docker container. |
Warning |
---|
Lines from 18 - to 21 should be filled with proper data! |
and then run this command:
...
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/ 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 swagger-ui.authorization.header=true |
...