2023-05-16 22:01:26 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Gitea
|
|
|
|
virtualisation.oci-containers.containers."gitea" = {
|
|
|
|
autoStart = true;
|
|
|
|
image = "gitea/gitea:latest";
|
|
|
|
volumes = [
|
2023-05-17 18:23:19 +08:00
|
|
|
"/srv/containers/gitea:/data"
|
2023-05-16 22:01:26 +08:00
|
|
|
"/etc/localtime:/etc/localtime:ro"
|
|
|
|
];
|
|
|
|
ports = [
|
|
|
|
"4000:3000"
|
|
|
|
"2221:22"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|