Services are ready.

This commit is contained in:
Raphaël Numbus
2026-02-22 12:04:19 +01:00
parent 40265e8c81
commit 2e16ac3711
10 changed files with 335 additions and 267 deletions
+5 -4
View File
@@ -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