mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +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.
|
# Auto-generated by compose2nix.
|
||||||
|
|
||||||
{ pkgs, lib, config, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# Runtime
|
# Runtime
|
||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -12,7 +14,10 @@
|
||||||
|
|
||||||
# Enable container name DNS for all Podman networks.
|
# Enable container name DNS for all Podman networks.
|
||||||
networking.firewall.interfaces = let
|
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 {
|
in {
|
||||||
"${matchAll}".allowedUDPPorts = [53];
|
"${matchAll}".allowedUDPPorts = [53];
|
||||||
};
|
};
|
||||||
|
|
@ -26,6 +31,7 @@
|
||||||
"ALLOW_ATTACHMENT_DOWNLOADS" = "0";
|
"ALLOW_ATTACHMENT_DOWNLOADS" = "0";
|
||||||
"APP_ENV" = "docker";
|
"APP_ENV" = "docker";
|
||||||
"BASE_CURRENCY" = "DKK";
|
"BASE_CURRENCY" = "DKK";
|
||||||
|
"CHECK_FOR_UPDATES" = "false";
|
||||||
"DB_AUTOMIGRATE" = "true";
|
"DB_AUTOMIGRATE" = "true";
|
||||||
"DEFAULT_LANG" = "en";
|
"DEFAULT_LANG" = "en";
|
||||||
"DEFAULT_TIMEZONE" = "Europe/Copenhagen";
|
"DEFAULT_TIMEZONE" = "Europe/Copenhagen";
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@ services:
|
||||||
# In docker env logs will be redirected to stderr
|
# In docker env logs will be redirected to stderr
|
||||||
- APP_ENV=docker
|
- 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
|
# 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/
|
# 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.
|
# folder (under .automigration-backup), so you can restore it, if the migration fails.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue