feat: add AWS deployment configuration and scripts

(cherry picked from commit 4b02988145)
This commit is contained in:
Ardeman
2025-04-16 08:25:03 +08:00
parent 98b871a5ed
commit ecc6c3b866
4 changed files with 101 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
server:
base-url: https://api.legalgo.id/core
local-url: http://localhost:3300
port: 3300
jwt:
token:
expires-ttl: 1440
secret: "5Lm25V3Qd7aut8dr4QUxm5PZUrSFs"
postgresql:
host: legalgodb.ctuok62cmn6i.ap-southeast-1.rds.amazonaws.com
port: 5432
driver: postgres
db: legalgonews
username: legalgo_admin
password: "K4K!2Kg7cKW6H&4A2aBy2dFCRY3Sh"
ssl-mode: disable
max-idle-connections-in-second: 600
max-open-connections-in-second: 600
connection-max-life-time-in-second: 600
debug: false
oss:
access_key_id: cf9a475e18bc7626cbdbf09709d82a64
access_key_secret: 91f3321294d3e23035427a0ecb893ada
endpoint: sin1.contabostorage.com
bucket_name: legalgonews-dev
log_level: Error
host_url: https://sin1.contabostorage.com
public_url: https://sin1.contabostorage.com/fda98c2228f246f29a7e466b86b3b9e7
redis:
host: legalgocache-qn8fuh.serverless.apse1.cache.amazonaws.com
port: 6379
db: 5
ssl: false
max-idle-connections-in-second: 600
max-open-connections-in-second: 600
connection-max-life-time-in-second: 600
debug: false