Git migration
This commit is contained in:
parent
c33a558fee
commit
f068d74916
3 changed files with 22 additions and 18 deletions
|
|
@ -73,7 +73,7 @@
|
|||
locations."/".proxyPass = "http://${config.networking.vpn-netns.vethIP}:${toString config.services.suwayomi-server.settings.server.port}";
|
||||
};
|
||||
# 44303
|
||||
"git.lyes.eu" = {
|
||||
"git.minish.link" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ in
|
|||
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.lyes.eu";
|
||||
DOMAIN = "git.minish.link";
|
||||
# You need to specify this to remove the port from URLs in the web UI.
|
||||
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||
HTTP_PORT = 44303;
|
||||
|
|
|
|||
|
|
@ -21,10 +21,11 @@
|
|||
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.default = {
|
||||
instances = {
|
||||
ptigoron = {
|
||||
enable = true;
|
||||
name = "ptigoron";
|
||||
url = "https://git.lyes.eu";
|
||||
url = "https://git.minish.link";
|
||||
# Obtaining the path to the runner token file may differ
|
||||
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
||||
tokenFile = config.age.secrets.ptigoron-token.path;
|
||||
|
|
@ -39,6 +40,9 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.gitea-runner-ptigoron.after = [ "forgejo.service" ];
|
||||
|
||||
age.secrets.ptigoron-token = {
|
||||
file = ../../../secrets/zora/services/ptigoron-token.age;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue