Add Pelican stuff - not complete.

Add more Fabric Mods.
This commit is contained in:
Root User 2026-03-20 15:41:59 +01:00
parent 6d55338dd7
commit 3dd7f7bfe8
Signed by: root
GPG key ID: 087F0A95E5766D72
5 changed files with 92 additions and 4 deletions

View file

@ -0,0 +1,24 @@
{
admin off
servers {
# Trust the upstream reverse proxy (Traefik) so the Panel recognizes
# TLS is terminated there. Replace 10.1.1.250 with your Traefik IP
# or the Cloudflare IP ranges if you're using Cloudflare Flexible SSL.
trusted_proxies static 10.1.1.250
}
}
:80 {
root * /var/www/html/public
encode gzip
# FastCGI to the bundled php-fpm in the Panel image
php_fastcgi 127.0.0.1:9000 {
# Optional: raise upload limits if you need larger file uploads
env PHP_VALUE "upload_max_filesize = 256M
post_max_size = 256M"
}
file_server
}

View file

@ -86,10 +86,12 @@
image = "ghcr.io/pelican-dev/panel:latest";
environment = {
"ADMIN_EMAIL" = "kuutruu@posteo.net";
"APP_URL" = "https://pelican.prg-radio.org";
"APP_URL" = "http://localhost";
"TRUSTED_PROXIES" = "10.1.1.250";
"XDG_DATA_HOME" = "/pelican-data";
};
volumes = [
"nix-system-configs/modules/songsheet/wavelog/Caddyfile:/etc/caddy/Caddyfile:rw"
"wavelog_pelican-data:/pelican-data:rw"
"wavelog_pelican-logs:/var/www/html/storage/logs:rw"
];

View file

@ -100,12 +100,15 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
# Mount the Caddyfile from the stable host path that pull.zsh deploys to
- /etc/pelican/Caddyfile:/etc/caddy/Caddyfile:ro
- pelican-data:/pelican-data
- pelican-logs:/var/www/html/storage/logs
environment:
XDG_DATA_HOME: /pelican-data
APP_URL: "https://pelican.prg-radio.org"
ADMIN_EMAIL: "kuutruu@posteo.net"
TRUSTED_PROXIES: "10.1.1.250"
wings:
image: ghcr.io/pelican-dev/wings:latest