All checks were successful
Build all the nodes / netaccess01 (push) Successful in 19s
Build all the nodes / netcore01 (push) Successful in 19s
Build all the nodes / netcore02 (push) Successful in 19s
Build all the nodes / ap01 (push) Successful in 1m26s
Build all the nodes / geo01 (push) Successful in 2m1s
Build all the nodes / hypervisor02 (push) Successful in 2m1s
Build all the nodes / hypervisor01 (push) Successful in 2m4s
Build all the nodes / geo02 (push) Successful in 2m8s
Build the shell / build-shell (push) Successful in 47s
Build all the nodes / bridge01 (push) Successful in 3m15s
Build all the nodes / vault01 (push) Successful in 1m47s
Build all the nodes / build01 (push) Successful in 3m26s
Run pre-commit on all files / pre-commit (push) Successful in 38s
Build all the nodes / storage01 (push) Successful in 3m15s
Build all the nodes / hypervisor03 (push) Successful in 3m36s
Build all the nodes / compute01 (push) Successful in 3m42s
Build all the nodes / web02 (push) Successful in 1m47s
Build all the nodes / tower01 (push) Successful in 3m34s
Build all the nodes / web03 (push) Successful in 1m51s
Build all the nodes / rescue01 (push) Successful in 3m44s
Build all the nodes / web01 (push) Successful in 2m15s
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
services.django-apps.sites.gestiobds = {
|
|
source = "https://git.dgnum.eu/DGNum/gestioCOF";
|
|
branch = "bds-prod";
|
|
domain = "gestiobds.webapps.dgnum.eu";
|
|
|
|
nginx = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
};
|
|
|
|
webHookSecret = config.age.secrets."webhook-gestiobds_token".path;
|
|
|
|
overlays.nix-pkgs = [
|
|
# Required packages
|
|
"authens"
|
|
"django-bootstrap-form"
|
|
"django-cas-ng"
|
|
"loadcredential"
|
|
|
|
# Dependencies
|
|
"python-cas"
|
|
];
|
|
|
|
dependencies = ps: [
|
|
ps.authens
|
|
ps.django
|
|
ps.django-bootstrap-form
|
|
ps.django-autocomplete-light
|
|
ps.django-cas-ng
|
|
ps.django-widget-tweaks
|
|
ps.loadcredential
|
|
ps.pillow
|
|
];
|
|
|
|
application = {
|
|
module = "gestioasso";
|
|
settingsModule = "gestioasso.settings_bds";
|
|
};
|
|
|
|
credentials = {
|
|
SECRET_KEY = config.age.secrets."dj_gestiobds-secret_key_file".path;
|
|
SYMPA_PASSWORD = config.age.secrets."dj_gestiobds-sympa_password_file".path;
|
|
SYMPA_USERNAME = config.age.secrets."dj_gestiobds-sympa_username_file".path;
|
|
};
|
|
};
|
|
}
|