mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +02:00
Make Gtihub not break the PartDB, THIS NEEDS TO BE REVERTED LATER!!!
This commit is contained in:
parent
84a0fb5723
commit
6d55338dd7
3 changed files with 53 additions and 44 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue