forge/bin/host/host.example.toml
Jacob Schmidt fe8f5dbef5 Refactor config loading and update SurrealDB setup documentation
- Refactored the `load` function in `config.rs` to use a new `locate_config_path` function for improved clarity and maintainability.
- Updated SurrealDB setup instructions in `SURREALDB_SETUP.md` and `surrealdb-setup.md` to reflect changes in the installation process and removed outdated script references.
- Added new dependencies for Tauri in `package.json` and `package-lock.json`, including `@tauri-apps/cli` and `@tauri-apps/plugin-dialog`.
- Updated the package-lock to include the latest versions of Tauri dependencies.
2026-06-06 15:34:17 -05:00

36 lines
758 B
TOML

[server]
host = "0.0.0.0"
port = 9090
[surreal]
endpoint = "127.0.0.1:8000"
namespace = "forge"
database = "main"
username = "root"
password = "root"
connect_timeout_ms = 5000
[surrealdb]
enabled = true
command = "surreal"
args = ["start", "--user", "root", "--pass", "root", "--bind", "127.0.0.1:8000", "rocksdb://forge.db"]
working_dir = "../../arma/server/surrealdb"
health_host = "127.0.0.1"
health_port = 8000
[icom]
enabled = true
command = "target/release/forge-icom.exe"
args = []
working_dir = "../.."
health_host = "127.0.0.1"
health_port = 9090
[arma]
enabled = false
command = "arma3server_x64.exe"
args = ["-port=2302", "-profiles=serverprofiles", "-name=server", "-noBattlEye"]
working_dir = ""
health_host = "127.0.0.1"
health_port = 2302