Add all fields to dev.yaml
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
58
cfg/dev.yaml
58
cfg/dev.yaml
@@ -1,13 +1,67 @@
|
|||||||
|
unit:
|
||||||
|
metrics:
|
||||||
|
addr: "localhost:8081"
|
||||||
|
tracing:
|
||||||
|
addr: "localhost:4317"
|
||||||
|
max-batch-size: 512
|
||||||
|
batch-timeout: 5
|
||||||
|
export-timeout: 30
|
||||||
|
max-queue-size: 2048
|
||||||
|
|
||||||
probod:
|
probod:
|
||||||
auth:
|
hostname: "localhost:8080"
|
||||||
invitation-confirmation-token-validity: 3600
|
encryption-key: "thisisnotasecretAAAAAAAAAAAAAAAAAAAAAAAAAAA="
|
||||||
|
chrome-dp-addr: "localhost:9222"
|
||||||
|
|
||||||
api:
|
api:
|
||||||
|
addr: "localhost:8080"
|
||||||
cors:
|
cors:
|
||||||
allowed-origins: ["http://localhost:8080", "http://localhost:5173"]
|
allowed-origins: ["http://localhost:8080", "http://localhost:5173"]
|
||||||
|
extra-header-fields: {}
|
||||||
|
|
||||||
|
pg:
|
||||||
|
addr: "localhost:5432"
|
||||||
|
username: "postgres"
|
||||||
|
password: "postgres"
|
||||||
|
database: "probod"
|
||||||
|
pool-size: 100
|
||||||
|
|
||||||
|
auth:
|
||||||
|
disable-signup: false
|
||||||
|
invitation-confirmation-token-validity: 3600
|
||||||
|
cookie:
|
||||||
|
name: "SSID"
|
||||||
|
domain: "localhost"
|
||||||
|
secret: "this-is-a-secure-secret-for-cookie-signing-at-least-32-bytes"
|
||||||
|
duration: 24
|
||||||
|
password:
|
||||||
|
pepper: "this-is-a-secure-pepper-for-password-hashing-at-least-32-bytes"
|
||||||
|
iterations: 1000000
|
||||||
|
|
||||||
|
trust-auth:
|
||||||
|
cookie-name: "TCT"
|
||||||
|
cookie-domain: "localhost"
|
||||||
|
cookie-duration: 24
|
||||||
|
token-duration: 168
|
||||||
|
report-url-duration: 15
|
||||||
|
token-secret: "this-is-a-secure-secret-for-trust-token-signing-at-least-32-bytes"
|
||||||
|
scope: "trust_center_readonly"
|
||||||
|
token-type: "trust_center_access"
|
||||||
|
|
||||||
aws:
|
aws:
|
||||||
|
region: "us-east-1"
|
||||||
|
bucket: "probod"
|
||||||
access-key-id: "probod"
|
access-key-id: "probod"
|
||||||
secret-access-key: "thisisnotasecret"
|
secret-access-key: "thisisnotasecret"
|
||||||
endpoint: "http://127.0.0.1:9000"
|
endpoint: "http://127.0.0.1:9000"
|
||||||
|
|
||||||
|
mailer:
|
||||||
|
sender-name: "Probo"
|
||||||
|
sender-email: "no-reply@notification.getprobo.com"
|
||||||
|
smtp:
|
||||||
|
addr: "localhost:1025"
|
||||||
|
tls-required: false
|
||||||
|
|
||||||
openai:
|
openai:
|
||||||
api-key: "thisisnotasecret"
|
api-key: "thisisnotasecret"
|
||||||
temperature: 0.1
|
temperature: 0.1
|
||||||
|
|||||||
@@ -82,8 +82,8 @@ func New() *Implm {
|
|||||||
},
|
},
|
||||||
Pg: pgConfig{
|
Pg: pgConfig{
|
||||||
Addr: "localhost:5432",
|
Addr: "localhost:5432",
|
||||||
Username: "probod",
|
Username: "postgres",
|
||||||
Password: "probod",
|
Password: "postgres",
|
||||||
Database: "probod",
|
Database: "probod",
|
||||||
PoolSize: 100,
|
PoolSize: 100,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user