use prefab::prelude::*;
use prefab::package::*;
use prefab::container::*;
#[prefab::main]
async fn main() -> Result<(), PrefabError> {
let host = Host::new(hostname!("prefab_test_host"));
let package = Package::new("podman");
host.deploy(&package).await?;
let container = Container::new("nextcloud")
.name("nextcloud")
.port_binding(80, 80);
host.deploy(&container).await?;
Ok(())
}