collin/anvil
2b6114fae9e5cf8bb66835db9ec6db2a961651c7 / anvil.example.toml
| 1 | # anvil configuration. Copy to `anvil.toml` and edit. All fields are optional; |
| 2 | # omitted fields fall back to the defaults shown here. |
| 3 | |
| 4 | # Root directory for all server state (database + repositories). |
| 5 | data_dir = "data" |
| 6 | |
| 7 | [http] |
| 8 | listen = "127.0.0.1:3000" |
| 9 | base_url = "http://localhost:3000" |
| 10 | |
| 11 | [ssh] |
| 12 | enabled = false |
| 13 | # Internal bind address. Under Docker, set host = "0.0.0.0" and forward the port. |
| 14 | listen = "127.0.0.1:2222" |
| 15 | # What to show users in SSH clone URLs. Set clone_port to the externally |
| 16 | # forwarded port if it differs from the internal bind (e.g. Docker -p 2200:2222). |
| 17 | clone_host = "localhost" |
| 18 | clone_port = 2222 |
| 19 | clone_user = "git" |