feat: add traggo container
This commit is contained in:
parent
af4e9f6de4
commit
0870c20e4e
@ -85,6 +85,21 @@
|
||||
database.passwordFile = config.age.secrets.keycloakDb.path;
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation.oci-containers.containers.traggo = {
|
||||
image = "traggo/server:latest";
|
||||
autoStart = true;
|
||||
ports = ["127.0.0.1:3030:3030"];
|
||||
volumes = [
|
||||
"/var/lib/traggo/data:/opt/traggo/data"
|
||||
];
|
||||
environment = {
|
||||
TRAGGO_DEFAULT_USER_NAME = "michael";
|
||||
TRAGGO_DEFAULT_USER_PASS = "NfvzH2H5eNJLAJb6";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
|
@ -1,4 +1,6 @@
|
||||
{pkgs, ...}: {
|
||||
virtualisation.containers.enable = true;
|
||||
|
||||
# Enable Podman w/ docker compose compatibility
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user