server: error: path: /error # whitelabel: # enabled: false spring: mail: host: mail.techzoos.in port: 587 username: ${PORTAL_MAIL_USERNAME:govardhan@techzoos.in} password: ${PORTAL_MAIL_PASSWORD:123456} properties: mail: transport: protocol: smtp smtp: auth: false starttls: enable: true ssl: enable: false datasource: # url: jdbc:mysql://mysql:3306/demo # url: jdbc:mysql://210.18.189.94:8098/demo # url: jdbc:mysql://${MYSQL_HOST:db}:8098/demo # username: youruser # password: youruserpassword url: ${SPRING_DATASOURCE_URL} username: ${SPRING_DATASOURCE_USERNAME} password: ${SPRING_DATASOURCE_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver jpa: hibernate: ddl-auto: update properties: hibernate: dialect: org.hibernate.dialect.MySQL8Dialect servlet: multipart: max-file-size: 10MB max-request-size: 100MB mvc: throw-exception-if-no-handler-found: true web: resources: add-mappings: false app: public-urls: /user/login,/user/register,/user/*/profile-image/**,/professors,/professors/**,/api/posts,/api/posts/*,/professor,/professor/*,/api/events,/api/events/* cors: allowed-origins: http://localhost:4200,https://localhost:4200,http://art-support-portal.s3-website.eu-north-1.amazonaws.com,http://portal.shyshkin.net,* jwt: secret: custom_text # secret: ${random.value} #Does not work - every time generates new value # jasypt: # encryptor: # # password: ${JASYPT_PASSWORD} # password: custom_text # algorithm: PBEWITHHMACSHA512ANDAES_256 # iv-generator-classname: org.jasypt.iv.RandomIvGenerator --- # spring: # config: # activate: # on-profile: local # datasource: # url: jdbc:mysql://210.18.189.94:8098/demo # username: youruser # password: youruserpassword # jpa: # show-sql: true # logging: # level: # net.shyshkin: debug --- # spring: # config: # activate: # on-profile: aws-local # datasource: # url: jdbc:mysql://210.18.189.94:8098/demo # username: youruser # password: youruserpassword # mail: # host: email-smtp.eu-north-1.amazonaws.com # port: 587 # username: AKIAVW7XGDOWFHHCELIH # password: BJyWOWS1xWYR35MRCFn3BuuQ6vY+k7DRsdAvOfqDs/Fk # we want to test (1) from localhost, (2) from S3 bucket Static Web Site, (3) from our EC2 instance # app: # email: # from: d.art.shishkin@gmail.com # carbon-copy: d.art.shishkin@gmail.com # cors: # allowed-origins: http://localhost:4200,http://art-support-portal.s3-website.eu-north-1.amazonaws.com,http://support-portal.shyshkin.net,http://portal.shyshkin.net # server: # port: 5000 # logging: # level: # net.shyshkin: debug --- # spring: # config: # activate: # on-profile: aws-rds # datasource: # url: jdbc:mysql://210.18.189.94:8098/demo # username: youruser # password: youruserpassword # mail: # host: email-smtp.eu-north-1.amazonaws.com # port: 587 # username: custom_text # password: custom_text # we want to test (1) from localhost, (2) from S3 bucket Static Web Site, (3) from our EC2 instance # app: # email: # from: d.art.shishkin@gmail.com # carbon-copy: d.art.shishkin@gmail.com # cors: # allowed-origins: http://localhost:4200,http://art-support-portal.s3-website.eu-north-1.amazonaws.com,http://support-portal.shyshkin.net,http://portal.shyshkin.net # server: # port: 5000 # logging: # level: # net.shyshkin: debug ##### # # HTTPS configuration # ##### # server.ssl: # enabled: true # Enable HTTPS support (only accept HTTPS requests) # key-alias: securedPortal # Alias that identifies the key in the key store # key-store: classpath:securedPortal-keystore.p12 # Keystore location # key-store-password: custom_text # key-store-type: PKCS12 # Keystore format # --- # spring: # config: # activate: # on-profile: image-s3 # app: # amazon-s3: # bucket-name: portal-user-profile-images # --- # spring: # config: # activate: # on-profile: image-s3-localstack # app: # amazon-s3: # bucket-name: portal-user-profile-images # config: # aws: # region: eu-north-1 # s3: # url: http://127.0.0.1:4566 # bucket-name: portal-user-profile-images # access-key: localstack # secret-key: localstack