diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | config.toml.example | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 213ed2b0f..0aba6d488 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /_support/bin /internal/service/smarthttp/testdata /internal/testhelper/testdata +/config.toml diff --git a/config.toml.example b/config.toml.example new file mode 100644 index 000000000..c709518d4 --- /dev/null +++ b/config.toml.example @@ -0,0 +1,22 @@ +# Example Gitaly configuration file + +listen_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket" + +# # Optional: listen on a TCP socket. This is insecure (no authentication) +# listen_addr = "localhost:9999" +# + +# # Optional: export metrics via Prometheus +# prometheus_listen_addr = "localhost:9236" +# + +[[storage]] +name = "default" +path = "/home/git/repositories" + +# # You can optionally configure more storages for this Gitaly instance to serve up +# +# [[storage]] +# name = "other_storage" +# path = "/mnt/other_storage/repositories" +# |