| 1 |
# Application Name |
| 2 |
spring.application.name=payment-link |
| 3 |
server.port=3000 |
| 4 |
|
| 5 |
# PostgreSQL Database Configuration |
| 6 |
spring.datasource.url=jdbc:postgresql://45.92.40.0:5432/dev |
| 7 |
spring.datasource.username=dev |
| 8 |
spring.datasource.password=zPVDfRFlg5omMBXW |
| 9 |
spring.datasource.driver-class-name=org.postgresql.Driver |
| 10 |
|
| 11 |
# JPA / Hibernate |
| 12 |
spring.jpa.hibernate.ddl-auto=update |
| 13 |
spring.jpa.show-sql=true |
| 14 |
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect |
| 15 |
spring.jpa.properties.hibernate.format_sql=true |
| 16 |
spring.jpa.open-in-view=false |
| 17 |
|
| 18 |
# Thymeleaf Configuration |
| 19 |
spring.thymeleaf.cache=false |
| 20 |
spring.thymeleaf.prefix=classpath:/templates/ |
| 21 |
spring.thymeleaf.suffix=.html |
| 22 |
spring.thymeleaf.mode=HTML |
| 23 |
spring.thymeleaf.encoding=UTF-8 |
| 24 |
|
| 25 |
# Stripe API Keys |
| 26 |
stripe.secret.key=${STRIPE_SECRET_KEY:sk_test_51Rf0p7H8Me2zC5fgOENaaeS42MhiakdofbO0WJf0rRDNlsMZzIuVE0cTc6SmOae59kYleH6qtC2skayUWuA2G2cB000iDWmjWm} |
| 27 |
stripe.publishable.key=${STRIPE_PUBLISHABLE_KEY:pk_test_51Rf0p7H8Me2zC5fgxETgxofZFUxIzg53ucu2IKjcgKye6EcqgQSr4hoGi5lliMpOscXvWw9iwxM4qvCXTgIM5GUF00M8HuwK0G} |
| 28 |
|
| 29 |
# CloudNS Configuration |
| 30 |
cloudns.auth.id=${CLOUDNS_AUTH_ID:48521} |
| 31 |
cloudns.auth.password=${CLOUDNS_AUTH_PASSWORD:TestTest} |
| 32 |
app.tld=${TLD:ironpath.ai} |
| 33 |
|
| 34 |
# Tax Configuration |
| 35 |
tax.default.rate=0.08 |
| 36 |
tax.api.url=${TAX_API_URL:} |
| 37 |
tax.api.timeout=5000 |
| 38 |
|
| 39 |
# Reservation Configuration |
| 40 |
reservation.timeout.ms=90000 |
| 41 |
|
| 42 |
# Server ID File Path |
| 43 |
app.server-id-file=${SERVER_ID_FILE:incl/server-id.txt} |
| 44 |
|
| 45 |
# Logging |
| 46 |
logging.level.com.paymentlink=DEBUG |
| 47 |
logging.level.org.springframework.security=DEBUG |
| 48 |
logging.level.org.hibernate.SQL=DEBUG |
| 49 |
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE |
| 50 |
|
| 51 |
# GeoIP Configuration |
| 52 |
geoip.database.path=classpath:GeoLite2-Country.mmdb |
| 53 |
geoip.cache.size=10000 |
| 54 |
geoip.cache.ttl=3600000 |
| 55 |
|
| 56 |
# Internationalization (i18n) |
| 57 |
i18n.default.language=en |
| 58 |
i18n.supported.languages=en,es,fr,de,zh |
| 59 |
i18n.fallback.enabled=true |
| 60 |
i18n.cache.ttl=1800000 |
| 61 |
|
| 62 |
# Currency Configuration |
| 63 |
currency.api.url=https://api.exchangerate-api.com/v4/latest/USD |
| 64 |
currency.api.timeout=5000 |
| 65 |
currency.refresh.interval=3600000 |
| 66 |
currency.base.currency=USD |
| 67 |
currency.cache.ttl=300000 |
| 68 |
currency.db.ttl=3600000 |
| 69 |
currency.refresh.lock.timeout=300000 |
| 70 |
|
| 71 |
# Regional Access Control |
| 72 |
region.blocking.enabled=true |
| 73 |
region.default.enabled=false |
| 74 |
region.cache.ttl=600000 |
| 75 |
|
| 76 |
# Stripe Multi-Currency Support |
| 77 |
stripe.supported.currencies=USD,EUR,GBP,CAD,AUD,JPY,MXN,BRL,INR,CNY,SEK,NOK,DKK,CHF,NZD,SGD,HKD,KRW,TRY,ZAR |
| 78 |
stripe.success.url=${STRIPE_SUCCESS_URL:http://localhost:3000/order-confirmation} |
| 79 |
stripe.cancel.url=${STRIPE_CANCEL_URL:http://localhost:3000/checkout} |
| 80 |
|
| 81 |
# Instance Identification (for distributed lock debugging) |
| 82 |
instance.id=${HOSTNAME:unknown}-${server.port:3000} |
| 83 |
|
| 84 |
# Flag API Configuration |
| 85 |
flags.api.url=https://flagcdn.com/w40 |
| 86 |
flags.cache.directory=flags |
| 87 |
|
| 88 |
|