legalgo-BE-go/env/production.yaml
Ardeman ecc6c3b866 feat: add AWS deployment configuration and scripts
(cherry picked from commit 4b0298814581a1dfd6a6c976975cf7c742c73bb2)
2025-04-16 08:25:03 +08:00

42 lines
1.1 KiB
YAML

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