Services/StateSpaces: Add statespaces service
This commit is contained in:
28
system/services/statespaces.nix
Normal file
28
system/services/statespaces.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
statespacesVersion = "latest";
|
||||
in {
|
||||
virtualisation.oci-containers.containers = {
|
||||
statespaces = {
|
||||
image = "gitea.vps.chriphost.de/christoph/statespaces:${statespacesVersion}";
|
||||
autoStart = true;
|
||||
|
||||
ports = [
|
||||
# "8080:8090"
|
||||
"5173:3111"
|
||||
];
|
||||
|
||||
volumes = [];
|
||||
|
||||
environment = {};
|
||||
|
||||
extraOptions = [
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user