mirror of
https://github.com/genebean/dots.git
synced 2026-05-31 23:55:20 -04:00
Add dots.ports module: fleet-wide service port registry (nixnuc + hetznix01)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
84a5c695b0
commit
94fdc678e4
15 changed files with 353 additions and 135 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
volume_base = "/orico/psitransfer";
|
||||
http_port = "3000";
|
||||
psitransfer_dot_env = "${config.sops.secrets.psitransfer_dot_env.path}";
|
||||
in
|
||||
{
|
||||
|
|
@ -24,7 +23,7 @@ in
|
|||
autoStart = true;
|
||||
image = "psitrax/psitransfer";
|
||||
environmentFiles = [ psitransfer_dot_env ];
|
||||
ports = [ "${http_port}:3000" ];
|
||||
ports = [ "${toString config.dots.ports.psitransfer.port}:3000" ];
|
||||
volumes = [
|
||||
"${volume_base}/data:/data"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue