Make Gtihub not break the PartDB, THIS NEEDS TO BE REVERTED LATER!!!

This commit is contained in:
Root User 2026-03-20 10:08:58 +01:00
parent 84a0fb5723
commit 6d55338dd7
Signed by: root
GPG key ID: 087F0A95E5766D72
3 changed files with 53 additions and 44 deletions

View file

@ -1,8 +1,10 @@
# Auto-generated by compose2nix.
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}: {
# Runtime
virtualisation.podman = {
enable = true;
@ -12,7 +14,10 @@
# Enable container name DNS for all Podman networks.
networking.firewall.interfaces = let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
matchAll =
if !config.networking.nftables.enable
then "podman+"
else "podman*";
in {
"${matchAll}".allowedUDPPorts = [53];
};
@ -26,6 +31,7 @@
"ALLOW_ATTACHMENT_DOWNLOADS" = "0";
"APP_ENV" = "docker";
"BASE_CURRENCY" = "DKK";
"CHECK_FOR_UPDATES" = "false";
"DB_AUTOMIGRATE" = "true";
"DEFAULT_LANG" = "en";
"DEFAULT_TIMEZONE" = "Europe/Copenhagen";

View file

@ -12,6 +12,9 @@ services:
# In docker env logs will be redirected to stderr
- APP_ENV=docker
# Diable the update checking because the GitHub Rate limit
- CHECK_FOR_UPDATES=false
# Uncomment this, if you want to use the automatic database migration feature. With this you have you do not have to
# run the doctrine:migrations:migrate commands on installation or upgrade. A database backup is written to the uploads/
# folder (under .automigration-backup), so you can restore it, if the migration fails.