95 lines
3.5 KiB
Nix
95 lines
3.5 KiB
Nix
{
|
|
containers = {
|
|
bind = {
|
|
image = "sameersbn/bind:latest";
|
|
ports =
|
|
[ "0.0.0.0:53:53/tcp" "0.0.0.0:53:53/udp" "0.0.0.0:5053:10000/tcp" ];
|
|
volumes = [ "/home/sezycei/srv/containerdata/bind/bind:/data" ];
|
|
environmentFiles = [ /home/sezycei/srv/containerdata/bind/.env ];
|
|
};
|
|
jellyfin = {
|
|
image = "linuxserver/jellyfin";
|
|
ports = [ "0.0.0.0:8096:8096" "0.0.0.0:8920:8920" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/containerdata/jellyfin/config:/config"
|
|
"/home/torrent/data/completed:/data/unsorted"
|
|
"/home/torrent/data/TV:/data/tvshows"
|
|
"/home/torrent/data/Movies:/data/movies"
|
|
"/home/torrent/data/transcode:/data/transcode"
|
|
"/home/torrent/data/Music:/data/music"
|
|
];
|
|
environment = {
|
|
PGID = "1000";
|
|
PUID = "1000";
|
|
TZ = "America/Chicago";
|
|
UMASK_SET = "022";
|
|
};
|
|
};
|
|
legit = {
|
|
image = "docker.matri.cx/legit";
|
|
ports = [ "0.0.0.0:5121:8080" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/containerdata/legit/static:/static"
|
|
"/home/sezycei/srv/containerdata/legit/templates:/templates"
|
|
"/home/sezycei/srv/containerdata/legit/legit.yml:/legit.yml"
|
|
"/home/sezycei/srv/containerdata/legit/repos:/var/www/git"
|
|
];
|
|
environment = { };
|
|
};
|
|
murmur = {
|
|
image = "goofball222/murmur";
|
|
ports = [ "0.0.0.0:64738:64738" "0.0.0.0:64738:64738/udp" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/containerdata/registry/registry/data:/var/lib/registry"
|
|
"/home/sezycei/srv/containerdata/registry/registry/certs:/certs"
|
|
"/home/sezycei/srv/containerdata/registry/registry/auth:/auth"
|
|
];
|
|
environment = { };
|
|
};
|
|
nginx = {
|
|
image = "nginx:alpine";
|
|
ports = [ "0.0.0.0:80:80" "0.0.0.0:443:443" "0.0.0.0:20222:20222" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/web/www:/var/www/"
|
|
"/home/sezycei/srv/web/configuration/nginx.conf:/etc/nginx/nginx.conf"
|
|
"/home/sezycei/srv/web/configuration/htpasswd:/etc/nginx/htpasswd"
|
|
"/home/sezycei/srv/web/configuration/htpasswd-dock:/etc/nginx/htpasswd-dock"
|
|
"/home/sezycei/srv/web/configuration/sites-available:/etc/nginx/sites-enabled"
|
|
"/home/sezycei/srv/web/ssl/letsencrypt:/etc/letsencrypt"
|
|
"/home/sezycei/srv/web/ssl/dhparam.pem:/etc/ssl/certs/dhparam.pem"
|
|
];
|
|
environment = { };
|
|
};
|
|
purr = {
|
|
image = "docker.matri.cx/purr";
|
|
ports = [ "0.0.0.0:5195:3000" ];
|
|
volumes = [
|
|
"/home/sezycei/dev/purr/data/Purr.sqlite:/app/data/Purr.sqlite"
|
|
"/home/sezycei/dev/purr/config.dhall:/app/config.dhall"
|
|
];
|
|
environment = { };
|
|
};
|
|
registry = {
|
|
image = "registry:2";
|
|
ports = [ "0.0.0.0:3001:5000" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/containerdata/registry/registry/data:/var/lib/registry"
|
|
"/home/sezycei/srv/containerdata/registry/registry/certs:/certs"
|
|
"/home/sezycei/srv/containerdata/registry/registry/auth:/auth"
|
|
];
|
|
environment = { };
|
|
};
|
|
transmission = {
|
|
image = "haugene/transmission-openvpn";
|
|
ports = [ "0.0.0.0:9091:9091" ];
|
|
volumes = [
|
|
"/home/sezycei/srv/scripts/transmission/settings.json:/etc/transmission-daemon/settings.json"
|
|
"/etc/localtime:/etc/localtime:ro"
|
|
"/home/torrent/data:/data"
|
|
];
|
|
environmentFiles = [ /home/sezycei/srv/containerdata/transmission/.env ];
|
|
extraOptions = [ "--cap-add=NET_ADMIN" "--privileged" ];
|
|
};
|
|
};
|
|
}
|