support - Integrate Opencode terminal IDE with MCP integrations (Ref, Exa, Outline) - Add Beads AI-native issue tracking system (.beads/ + AGENTS.md) - Implement STT/PTT (speech-to-text push-to-talk) with whisper-cpp-vulkan - Add coding feature module with dev tools (beads, alejandra, bun, devpod, nixd) - Create AZPILOGISTIKTEST host configuration - Refactor Hyprland windowrules to new match: syntax - Upgrade nixpkgs/home-manager from 25.05 to 25.11 - Update Ollama to use Vulkan acceleration - Add lmstudio, rofi-project-opener, and various app updates - Add outline-key secret and mem0 service configuration chore: Add Opencode IDE, Beads issue tracking, STT/PTT, and nixpkgs 25.11 upgrade
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
serviceName = "baserow";
|
|
portUtils = import ../../../../lib/port-utils.nix {inherit lib;};
|
|
servicePort = portUtils.getPort serviceName "AZ-CLD-1";
|
|
in {
|
|
virtualisation.oci-containers.containers.${serviceName} = {
|
|
image = "docker.io/baserow/baserow:2.0.6";
|
|
environment = {
|
|
BASEROW_AMOUNT_OF_GUNICORN_WORKERS = "4";
|
|
BASEROW_AMOUNT_OF_WORKERS = "2";
|
|
DATABASE_CONN_MAX_AGE = "60";
|
|
};
|
|
environmentFiles = [config.age.secrets.baserow-env.path];
|
|
ports = ["127.0.0.1:${toString servicePort}:80"];
|
|
volumes = ["baserow_data:/baserow/data"];
|
|
extraOptions = ["--add-host=postgres:10.89.0.1" "--ip=10.89.0.10" "--network=web"];
|
|
};
|
|
|
|
# Traefik configuration
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
services.${serviceName}.loadBalancer.servers = [
|
|
{
|
|
url = "http://localhost:${toString servicePort}/";
|
|
}
|
|
];
|
|
|
|
routers.${serviceName} = {
|
|
rule = "Host(`br.az-gruppe.com`)";
|
|
tls = {
|
|
certResolver = "ionos";
|
|
};
|
|
service = serviceName;
|
|
entrypoints = "websecure";
|
|
};
|
|
};
|
|
}
|