Compare commits
2 Commits
1f50e66581
...
e75c4cd83d
| Author | SHA1 | Date | |
|---|---|---|---|
| e75c4cd83d | |||
| 7c6f0d5678 |
@ -19,6 +19,7 @@
|
||||
# ./services/airsignal.nix
|
||||
./services/heidi.nix
|
||||
./services/formula10.nix
|
||||
./services/formula11.nix
|
||||
|
||||
# General
|
||||
./services/authelia.nix
|
||||
|
||||
@ -47,11 +47,6 @@
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
"/media/TV-Usenet" = {
|
||||
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Usenet";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
"/media/TV-Music" = {
|
||||
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music";
|
||||
fsType = "nfs";
|
||||
@ -73,11 +68,6 @@
|
||||
device = "192.168.86.20:/mnt/WD Blue Stripe 2T/Clips";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
"/media/Stash-Usenet" = {
|
||||
device = "192.168.86.20:/mnt/WD Blue Stripe 2T/Usenet";
|
||||
fsType = "nfs";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
65
ServeNix/services/formula11.nix
Normal file
65
ServeNix/services/formula11.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.formula11_pocketbase = {
|
||||
image = "gitea.vps.chriphost.de/christoph/pocketbase:0.25.0";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"8090:8080"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"formula11_pb_data:/pb/pb_data"
|
||||
];
|
||||
|
||||
environment = {};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.formula11 = {
|
||||
image = "gitea.vps.chriphost.de/christoph/formula11:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
"formula11_pocketbase"
|
||||
];
|
||||
|
||||
ports = [
|
||||
# "8080:8090"
|
||||
"5173:3000"
|
||||
];
|
||||
|
||||
volumes = [];
|
||||
|
||||
environment = {
|
||||
# PB_PROTOCOL="http";
|
||||
# PB_HOST="formula11_pocketbase";
|
||||
# PB_PORT="8000";
|
||||
|
||||
# PB_PROTOCOL="https";
|
||||
# PB_URL="f11pb.vps.chriphost.de";
|
||||
|
||||
PUBLIC_PBURL="https://f11pb.vps.chriphost.de";
|
||||
|
||||
# Required by SvelteKit to prevent cross-site POST errors
|
||||
ORIGIN="https://f11.vps.chriphost.de";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user