im so tired man
This commit is contained in:
@@ -1,35 +1,9 @@
|
||||
# ===================================================
|
||||
# Profile: prod (production)
|
||||
# Aktifkan dengan: --spring.profiles.active=prod
|
||||
# Semua nilai WAJIB diisi via environment variable
|
||||
# Tidak ada default value — akan gagal start jika kosong
|
||||
# ===================================================
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
url: ${DB_URL}
|
||||
username: ${DB_USERNAME}
|
||||
password: ${DB_PASSWORD}
|
||||
|
||||
jpa:
|
||||
show-sql: false
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: false
|
||||
|
||||
server:
|
||||
port: ${PORT:8080}
|
||||
|
||||
jwt:
|
||||
secret: ${JWT_SECRET}
|
||||
expiration: ${JWT_EXPIRATION:86400000}
|
||||
|
||||
agora:
|
||||
app-id: ${AGORA_APP_ID}
|
||||
app-certificate: ${AGORA_APP_CERTIFICATE}
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.walkguide: INFO
|
||||
org.springframework.messaging: WARN
|
||||
org.springframework.web.socket: WARN
|
||||
DB_URL=jdbc:postgresql://<host>:<port>/<database>
|
||||
DB_USERNAME=<database_username>
|
||||
DB_PASSWORD=<database_password>
|
||||
JWT_SECRET=<base64_hs256_secret_at_least_32_bytes>
|
||||
JWT_EXPIRATION=86400000
|
||||
AGORA_APP_ID=<agora_app_id>
|
||||
AGORA_APP_CERTIFICATE=<agora_app_certificate>
|
||||
FIREBASE_CREDENTIALS_PATH=classpath:firebase/google-services-admin.json
|
||||
FIREBASE_NOTIFICATIONS_COLLECTION=notifications
|
||||
|
||||
Reference in New Issue
Block a user