2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-06-06 11:39:20 +02:00
|
|
|
{ config, ... }:
|
2024-01-23 01:06:10 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ./packages ];
|
|
|
|
|
|
|
|
services.crabfit = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
api.host = "api.meet.dgnum.eu";
|
|
|
|
frontend.host = "meet.dgnum.eu";
|
|
|
|
};
|
2024-02-21 22:55:10 +01:00
|
|
|
|
|
|
|
dgn-backups.postgresDatabases = [ "crabfit" ];
|
2024-06-06 11:39:20 +02:00
|
|
|
|
2024-10-12 19:30:36 +02:00
|
|
|
dgn-web.simpleProxies = {
|
|
|
|
crabfit-api = {
|
|
|
|
inherit (config.services.crabfit.api) host port;
|
|
|
|
};
|
|
|
|
crabfit-frontend = {
|
|
|
|
inherit (config.services.crabfit.frontend) host port;
|
2024-06-06 11:39:20 +02:00
|
|
|
};
|
2024-10-12 19:30:36 +02:00
|
|
|
};
|
2024-01-23 01:06:10 +01:00
|
|
|
}
|