Services are ready.
This commit is contained in:
@@ -3,22 +3,24 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
it-toolsVersion = "2024.10.22-7ca5933";
|
||||
helper = import ./lib.nix { inherit config pkgs lib; };
|
||||
cfg = config.numbus.services.it-tools;
|
||||
in
|
||||
|
||||
helper.mkPodmanService {
|
||||
name = "it-tools";
|
||||
description = "IT-tools, useful tools when doing IT";
|
||||
defaultPort = "8880";
|
||||
name = "it-tools";
|
||||
pod = "false";
|
||||
defaultPort = "8880";
|
||||
configDir = false;
|
||||
dataDir = false;
|
||||
|
||||
# Compose file good
|
||||
composeText = ''
|
||||
services:
|
||||
it-tools:
|
||||
image: docker.io/corentinth/it-tools:latest
|
||||
image: docker.io/corentinth/it-tools:${it-toolsVersion}
|
||||
container_name: it-tools
|
||||
hostname: it-tools
|
||||
networks:
|
||||
@@ -26,7 +28,6 @@ helper.mkPodmanService {
|
||||
ports:
|
||||
- "${cfg.port}:80/tcp"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
it-tools:
|
||||
name: it-tools
|
||||
|
||||
Reference in New Issue
Block a user