All checks were successful
CI / Get Changed Files (pull_request) Successful in 8s
CI / eslint (pull_request) Has been skipped
CI / Docker frontend validation (pull_request) Has been skipped
CI / oxlint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m1s
CI / Docker backend validation (pull_request) Successful in 1m15s
54 lines
2.9 KiB
Properties
54 lines
2.9 KiB
Properties
spring.datasource.url=jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:postgresdb}
|
|
spring.datasource.username=${DB_USER:postgres_user}
|
|
spring.datasource.password=${DB_PASS:postgres_pass}
|
|
server.port=${HTTP_PORT:8080}
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
stripe.secret.key=${STRIPE_SECRET_KEY:sk_test_51QrePYIvCfqz7ANgqam8rEwWcMeKiLOof3j6SCMgu2sl4sESP45DJxca16mWcYo1sQaiBv32CMR6Z4AAAGQPCJo300ubuZKO8I}
|
|
stripe.webhook.secret=${STRIPE_WEBHOOK_SECRET:whsec_746b6a488665f6057118bdb4a2b32f4916f16c277109eeaed5e8f8e8b81b8c15}
|
|
|
|
app.frontend-host=${FE_URL:http://localhost:4200}
|
|
|
|
app.mail.authentication=${MAIL_AUTHENTICATION:false}
|
|
app.mail.host=${MAIL_HOST:localhost}
|
|
app.mail.port=${MAIL_PORT:1025}
|
|
app.mail.username=${MAIL_USER:null}
|
|
app.mail.password=${MAIL_PASS:null}
|
|
app.mail.from-address=${MAIL_FROM:casino@localhost}
|
|
app.mail.protocol=${MAIL_PROTOCOL:smtp}
|
|
|
|
spring.application.name=casino
|
|
|
|
# JWT Configuration
|
|
jwt.secret=${JWT_SECRET:5367566B59703373367639792F423F4528482B4D6251655468576D5A71347437}
|
|
jwt.expiration.ms=${JWT_EXPIRATION_MS:86400000}
|
|
|
|
# Logging
|
|
logging.level.org.springframework.security=DEBUG
|
|
|
|
# Swagger
|
|
springdoc.swagger-ui.path=swagger
|
|
springdoc.swagger-ui.try-it-out-enabled=true
|
|
|
|
# GitHub OAuth2 Configuration
|
|
spring.security.oauth2.client.registration.github.client-id=${GITHUB_CLIENT_ID:Ov23lingzZsPn1wwACoK}
|
|
spring.security.oauth2.client.registration.github.client-secret=${GITHUB_CLIENT_SECRET:4b327fb3b1ab67584a03bcb9d53fa6439fbccad7}
|
|
spring.security.oauth2.client.registration.github.redirect-uri=${app.frontend-host}/oauth2/callback/github
|
|
spring.security.oauth2.client.registration.github.scope=user:email,read:user
|
|
spring.security.oauth2.client.provider.github.authorization-uri=https://github.com/login/oauth/authorize
|
|
spring.security.oauth2.client.provider.github.token-uri=https://github.com/login/oauth/access_token
|
|
spring.security.oauth2.client.provider.github.user-info-uri=https://api.github.com/user
|
|
spring.security.oauth2.client.provider.github.user-name-attribute=login
|
|
|
|
# OAuth Success and Failure URLs
|
|
app.oauth2.authorizedRedirectUris=${app.frontend-host}/auth/oauth2/callback
|
|
|
|
# Google OAuth2 Configuration
|
|
spring.security.oauth2.client.registration.google.client-id=${GOOGLE_CLIENT_ID:350791038883-c1r7v4o793itq8a0rh7dut7itm7uneam.apps.googleusercontent.com}
|
|
spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_CLIENT_SECRET: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}
|
|
spring.security.oauth2.client.registration.google.redirect-uri=${app.frontend-host}/oauth2/callback/google
|
|
spring.security.oauth2.client.registration.google.scope=email,profile
|
|
spring.security.oauth2.client.provider.google.authorization-uri=https://accounts.google.com/o/oauth2/v2/auth
|
|
spring.security.oauth2.client.provider.google.token-uri=https://oauth2.googleapis.com/token
|
|
spring.security.oauth2.client.provider.google.user-info-uri=https://www.googleapis.com/oauth2/v3/userinfo
|
|
spring.security.oauth2.client.provider.google.user-name-attribute=sub
|
|
|