Refactor configuration and scripts for Archipelago backend and ISO build
- Updated Cargo.toml to remove unnecessary package backtrace optimizations. - Changed default bind host and port in config.rs for broader accessibility. - Renamed state_manager to _state_manager in server.rs for clarity. - Updated user field to _user in PodmanClient and DockerRuntime for consistency. - Modified build-debian-iso.sh to enhance welcome message and backend startup instructions. - Improved archipelago-menu.sh to display backend status and updated Web UI URL. - Enhanced install-to-disk.sh for better package management and user creation during installation.
This commit is contained in:
@@ -142,8 +142,8 @@ impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
data_dir: PathBuf::from("/var/lib/archipelago"),
|
||||
bind_host: "127.0.0.1".to_string(),
|
||||
bind_port: 5959,
|
||||
bind_host: "0.0.0.0".to_string(),
|
||||
bind_port: 5678,
|
||||
log_level: "info".to_string(),
|
||||
dev_mode: false,
|
||||
container_runtime: ContainerRuntime::Auto,
|
||||
|
||||
@@ -14,7 +14,7 @@ use tracing::{error, info};
|
||||
pub struct Server {
|
||||
_config: Config,
|
||||
api_handler: Arc<ApiHandler>,
|
||||
state_manager: Arc<StateManager>,
|
||||
_state_manager: Arc<StateManager>,
|
||||
}
|
||||
|
||||
impl Server {
|
||||
@@ -48,7 +48,7 @@ impl Server {
|
||||
Ok(Self {
|
||||
_config: config,
|
||||
api_handler,
|
||||
state_manager,
|
||||
_state_manager: state_manager,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user