mirror of
https://github.com/genebean/dots.git
synced 2026-05-31 07:45: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 = "/var/lib/audiobookshelf";
|
||||
http_port = "13378";
|
||||
in
|
||||
{
|
||||
# Audiobookshelf
|
||||
|
|
@ -14,7 +13,7 @@ in
|
|||
AUDIOBOOKSHELF_UID = "99";
|
||||
AUDIOBOOKSHELF_GID = "100";
|
||||
};
|
||||
ports = [ "${http_port}:80" ];
|
||||
ports = [ "${toString config.dots.ports.audiobookshelf.port}:80" ];
|
||||
volumes = [
|
||||
"${volume_base}/audiobooks:/audiobooks"
|
||||
"${volume_base}/podcasts:/podcasts"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue