feat: add production configuration files for server, jwt, postgresql, oss, and redis
This commit is contained in:
parent
98b871a5ed
commit
abcbc014a2
43
env/production-local.yaml
vendored
Normal file
43
env/production-local.yaml
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
server:
|
||||||
|
base-url: https://api.legalgo.id/core
|
||||||
|
local-url: http://localhost:3300
|
||||||
|
port: 3300
|
||||||
|
|
||||||
|
jwt:
|
||||||
|
token:
|
||||||
|
expires-ttl: 1440
|
||||||
|
secret: "5Lm25V3Qd7aut8dr4QUxm5PZUrSFs"
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
host: dpg-d046h549c44c739arfv0-a.singapore-postgres.render.com
|
||||||
|
port: 5432
|
||||||
|
driver: postgres
|
||||||
|
db: legalgonews_prod
|
||||||
|
username: legalgo_admin
|
||||||
|
password: "656ogwc0JlLEVQyHnT5RrrYa7762iBQQ"
|
||||||
|
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: GTK7i3SVy9llQeGH0Htv
|
||||||
|
access_key_secret: 2psmKXZFpevA9n5ntSDRMqFBpZuSz32dvtXjYclf
|
||||||
|
endpoint: minio-server-mwbc
|
||||||
|
bucket_name: legalgonews-bucket
|
||||||
|
log_level: Error
|
||||||
|
host_url: https://minio-server-mwbc.onrender.com
|
||||||
|
public_url: https://minio-server-mwbc.onrender.com
|
||||||
|
|
||||||
|
redis:
|
||||||
|
host: singapore-keyvalue.render.com
|
||||||
|
port: 6379
|
||||||
|
username: red-d046l42dbo4c73ea9iag
|
||||||
|
password: 7cZvu08JKuO9MPNxBb97tZCVNj0ZGNp2
|
||||||
|
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
|
||||||
43
env/production.yaml
vendored
Normal file
43
env/production.yaml
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
server:
|
||||||
|
base-url: https://api.legalgo.id/core
|
||||||
|
local-url: http://localhost:3300
|
||||||
|
port: 3300
|
||||||
|
|
||||||
|
jwt:
|
||||||
|
token:
|
||||||
|
expires-ttl: 1440
|
||||||
|
secret: "5Lm25V3Qd7aut8dr4QUxm5PZUrSFs"
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
host: dpg-d046h549c44c739arfv0-a
|
||||||
|
port: 5432
|
||||||
|
driver: postgres
|
||||||
|
db: legalgonews_prod
|
||||||
|
username: legalgo_admin
|
||||||
|
password: "656ogwc0JlLEVQyHnT5RrrYa7762iBQQ"
|
||||||
|
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: GTK7i3SVy9llQeGH0Htv
|
||||||
|
access_key_secret: 2psmKXZFpevA9n5ntSDRMqFBpZuSz32dvtXjYclf
|
||||||
|
endpoint: minio-server-mwbc
|
||||||
|
bucket_name: legalgonews-bucket
|
||||||
|
log_level: Error
|
||||||
|
host_url: https://minio-server-mwbc.onrender.com
|
||||||
|
public_url: https://minio-server-mwbc.onrender.com
|
||||||
|
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6379
|
||||||
|
username: red-d046l42dbo4c73ea9iag
|
||||||
|
password: 7cZvu08JKuO9MPNxBb97tZCVNj0ZGNp2
|
||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user