- Added `build_dockerfile` function to generate a Dockerfile based on the LAMP stack for the given project. - Implemented `build_docker_image` to execute the docker build command and create the image. - Configured user and permissions for apache. - Included necessary apache configuration for security. - Added error handling for docker build failures. - Exposed port 80 for external access. - Added basic serialization to Config struct.
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| name = "harmony"
 | |
| edition = "2024"
 | |
| version.workspace = true
 | |
| readme.workspace = true
 | |
| license.workspace = true
 | |
| 
 | |
| [dependencies]
 | |
| libredfish = "0.1.1"
 | |
| reqwest = { version = "0.11", features = ["blocking", "json"] }
 | |
| russh = "0.45.0"
 | |
| rust-ipmi = "0.1.1"
 | |
| semver = "1.0.23"
 | |
| serde = { version = "1.0.209", features = ["derive"] }
 | |
| serde_json = "1.0.127"
 | |
| tokio = { workspace = true }
 | |
| derive-new = { workspace = true }
 | |
| log = { workspace = true }
 | |
| env_logger = { workspace = true }
 | |
| async-trait = { workspace = true }
 | |
| cidr = { workspace = true }
 | |
| opnsense-config = { path = "../opnsense-config" }
 | |
| opnsense-config-xml = { path = "../opnsense-config-xml" }
 | |
| harmony_macros = { path = "../harmony_macros" }
 | |
| harmony_types = { path = "../harmony_types" }
 | |
| uuid = { workspace = true }
 | |
| url = { workspace = true }
 | |
| kube = { workspace = true }
 | |
| k8s-openapi = { workspace = true }
 | |
| serde_yaml = { workspace = true }
 | |
| http = { workspace = true }
 | |
| serde-value = { workspace = true }
 | |
| inquire.workspace = true
 | |
| helm-wrapper-rs = "0.4.0"
 | |
| non-blank-string-rs = "1.0.4"
 | |
| k3d-rs = { path = "../k3d" }
 | |
| directories = "6.0.0"
 | |
| lazy_static = "1.5.0"
 | |
| dockerfile_builder = "0.1.5"
 |