mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Forgejo setup
This commit is contained in:
parent
60988e6026
commit
069cb2b044
1 changed files with 31 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ in {
|
|||
80 # http to local Nginx
|
||||
443 # https to local Nginx
|
||||
3000 # PsiTransfer in oci-container
|
||||
3030 # Forgejo
|
||||
8000 # Tube Archivist
|
||||
8080 # Tandoor in docker compose
|
||||
8384 # Syncthing gui
|
||||
|
|
@ -164,6 +165,26 @@ in {
|
|||
'';
|
||||
passwordFile = "${config.sops.secrets.gandi_api.path}";
|
||||
};
|
||||
forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
lfs.enable = true;
|
||||
settings = {
|
||||
# Add support for actions, based on act: https://github.com/nektos/act
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
server = {
|
||||
DOMAIN = "git.${home_domain}";
|
||||
HTTP_PORT = 3030;
|
||||
LANDING_PAGE = "explore";
|
||||
ROOT_URL = "https://git.${home_domain}/";
|
||||
};
|
||||
};
|
||||
stateDir = "/orico/forgejo";
|
||||
};
|
||||
fwupd.enable = true;
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
|
|
@ -318,6 +339,16 @@ in {
|
|||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://${backend_ip}:8888";
|
||||
};
|
||||
"git.${home_domain}" = {
|
||||
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://${backend_ip}:3030";
|
||||
extraConfig = ''
|
||||
client_max_body_size 0;
|
||||
'';
|
||||
};
|
||||
"immich.${home_domain}" = {
|
||||
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
||||
enableACME = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue