feat(dev-config): add missing pieces

Use certstrap to bootstrap a simple TLS CA for development purpose.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2025-01-03 22:27:56 +01:00
parent c1a8cefa67
commit b23794207d
2 changed files with 6 additions and 2 deletions

View file

@ -87,6 +87,7 @@
hivemind
diesel-cli
postgresql.dev
certstrap
];
postHook = ''

View file

@ -8,7 +8,8 @@
"vcs": "Gerrit",
"gerrit": {
"instance_uri": "cl.forkos.org",
"ssh_private_key_file": "/dev/null"
"ssh_private_key_file": "/dev/null",
"username": "ofborg"
},
"nix": {
"system": "x86_64-linux",
@ -23,7 +24,9 @@
"password_file": "$TRIVIAL_PASSWORD"
},
"statcheck": {
"db": "$STATE_DIRECTORY/statcheck/db"
"database_url": "postgresql:///ofborg",
"tls_private_key": "$STATE_DIRECTORY/statcheck/Ofborg_Status_Checks_Server.key",
"tls_full_chain": "$STATE_DIRECTORY/statcheck/Ofborg_Status_Checks_Server_chain.crt"
},
"feedback": {
"full_logs": true