author | Jordan Doyle <jordan@doyle.la> | 2022-08-30 2:09:49.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.la> | 2022-08-30 2:09:49.0 +01:00:00 |
commit | cb3c12cdda013589f3ccab99f53bd4faf3f25c88 [patch] |
|
tree | 5df7532886808f20000a51f5116033bcab23b188 |
|
parent | 52375c75b823dce9fae1b5b99ee1b22d3e225dd5 |
|
download | cb3c12cdda013589f3ccab99f53bd4faf3f25c88.tar.gz |
Add example config files that can be used for local development with no extra changes
Diff
chartered-git/config-example.toml | 8 ++++++++ chartered-web/config-example.toml | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/chartered-git/config-example.toml b/chartered-git/config-example.toml new file mode 100644 index 0000000..c5a2755 100644 --- /dev/null +++ a/chartered-git/config-example.toml @@ -1,0 +1,8 @@ bind_address = "127.0.0.1:2233" # address to bind SSH server to database_uri = "sqlite:///tmp/chartered.db" # must build with either sqlite or postgres features accordingly web_base_uri = "http://localhost:8888/" # URI of chartered-web [committer] name = "Chartered" email = "noreply@chart.rs" message = "Updated crates!" diff --git a/chartered-web/config-example.toml b/chartered-web/config-example.toml new file mode 100644 index 0000000..774a8ee 100644 --- /dev/null +++ a/chartered-web/config-example.toml @@ -1,0 +1,14 @@ bind_address = "127.0.0.1:8888" # address to bind server to, don't forget to configure the frontend too via the BASE_URL env var database_uri = "sqlite:///tmp/chartered.db" # must build with either sqlite or postgres features accordingly storage_uri = "file:///tmp/chartered" # this can also be an S3 URI frontend_base_uri = "http://localhost:1234/" # URI for your chartered-frontend instance encryption_key = "thisisanexamplekeydontuseme4prod" # any 32 char string will do [auth.password] enabled = true # [auth.gitlab] # enabled = true # discovery_uri = "https://gitlab.com/" # client_id = "[client-id]" # client_secret = "[client-secret]"