From d6859f0843767988b9d1134901e06fa255097f19 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Mon, 23 Mar 2026 11:56:07 +0100 Subject: [PATCH] Following the Pelican server support guidance, changing the env in the Docker compose yaml --- .../modules/songsheet/wavelog/docker-compose.nix | 6 ++++-- .../modules/songsheet/wavelog/docker-compose.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nix-system-configs/modules/songsheet/wavelog/docker-compose.nix b/nix-system-configs/modules/songsheet/wavelog/docker-compose.nix index ce3f8ac..00cf38a 100644 --- a/nix-system-configs/modules/songsheet/wavelog/docker-compose.nix +++ b/nix-system-configs/modules/songsheet/wavelog/docker-compose.nix @@ -85,8 +85,9 @@ virtualisation.oci-containers.containers."pelican_panel" = { image = "ghcr.io/pelican-dev/panel:latest"; environment = { - "ADMIN_EMAIL" = "kuutruu@posteo.net"; - "APP_URL" = "http://pelican.prg-radio.org"; + "APP_URL" = "https://pelican.prg-radio.org"; + "BEHIND_PROXY" = "true"; + "LE_EMAIL" = "kuutruu@posteo.net"; "TRUSTED_PROXIES" = "10.1.1.250"; "XDG_DATA_HOME" = "/pelican-data"; }; @@ -130,6 +131,7 @@ image = "ghcr.io/pelican-dev/wings:latest"; environment = { "APP_TIMEZONE" = "Europe/Copenhagen"; + "BEHIND_PROXY" = "true"; "TZ" = "Europe/Copenhagen"; "WINGS_GID" = "1000"; "WINGS_UID" = "1000"; diff --git a/nix-system-configs/modules/songsheet/wavelog/docker-compose.yml b/nix-system-configs/modules/songsheet/wavelog/docker-compose.yml index f82b7eb..c351771 100644 --- a/nix-system-configs/modules/songsheet/wavelog/docker-compose.yml +++ b/nix-system-configs/modules/songsheet/wavelog/docker-compose.yml @@ -106,9 +106,10 @@ services: - pelican-logs:/var/www/html/storage/logs environment: XDG_DATA_HOME: /pelican-data - APP_URL: "http://pelican.prg-radio.org" - ADMIN_EMAIL: "kuutruu@posteo.net" + APP_URL: "https://pelican.prg-radio.org" + LE_EMAIL: "kuutruu@posteo.net" TRUSTED_PROXIES: "10.1.1.250" + BEHIND_PROXY: true wings: image: ghcr.io/pelican-dev/wings:latest @@ -126,6 +127,7 @@ services: WINGS_UID: 1000 WINGS_GID: 1000 WINGS_USERNAME: pelican + BEHIND_PROXY: true # Just in case... volumes: - "/run/podman/podman.sock:/var/run/docker.sock" - "/var/lib/containers/storage/overlay-containers/:/var/lib/docker/containers/"