Cleanup config. Disable nginx vhost
deploy config / Explore-Gitea-Actions (push) Successful in 43s
Details
deploy config / Explore-Gitea-Actions (push) Successful in 43s
Details
This commit is contained in:
parent
4ed814c81e
commit
3fea1cb0b5
|
|
@ -70,7 +70,7 @@
|
|||
ethtool
|
||||
git
|
||||
gitea
|
||||
nginx
|
||||
# nginx
|
||||
fastfetch
|
||||
];
|
||||
|
||||
|
|
@ -104,48 +104,49 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."git.blubb.fish" = {
|
||||
addSSL = true;
|
||||
sslCertificate = /cert/git.blubb.fish/cert.pem;
|
||||
sslCertificateKey = /cert/git.blubb.fish/key.pem;
|
||||
sslTrustedCertificate = /cert/git.blubb.fish/fullchain.pem;
|
||||
locations."/".proxyPass = "http://127.0.0.1:3000/";
|
||||
};
|
||||
# services.nginx.virtualHosts."git.blubb.fish" = {
|
||||
# addSSL = true;
|
||||
# sslCertificate = /cert/git.blubb.fish/cert.pem;
|
||||
# sslCertificateKey = /cert/git.blubb.fish/key.pem;
|
||||
# sslTrustedCertificate = /cert/git.blubb.fish/fullchain.pem;
|
||||
# locations."/".proxyPass = "http://127.0.0.1:3000/";
|
||||
# };
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
act_runner_01 = {
|
||||
image = "gitea/act_runner";
|
||||
environment = {
|
||||
GITEA_INSTANCE_URL = "http://10.0.0.24:3000";
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN = "GPf0fQ10T56S5UMb8Mrr7674V1VWjOQaDDuo1CRQ";
|
||||
GITEA_RUNNER_NAME = "runner01";
|
||||
GITEA_RUNNER_LABELS = "ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster";
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
volumes = [
|
||||
"/root/docker/runner01/data:/data"
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
};
|
||||
act_runner_02 = {
|
||||
image = "gitea/act_runner";
|
||||
environment = {
|
||||
GITEA_INSTANCE_URL = "http://10.0.0.24:3000";
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN = "GPf0fQ10T56S5UMb8Mrr7674V1VWjOQaDDuo1CRQ";
|
||||
GITEA_RUNNER_NAME = "runner02";
|
||||
GITEA_RUNNER_LABELS = "ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster";
|
||||
oci-containers.containers = {
|
||||
act_runner_01 = {
|
||||
image = "gitea/act_runner";
|
||||
environment = {
|
||||
GITEA_INSTANCE_URL = "http://10.0.0.24:3000";
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN = "GPf0fQ10T56S5UMb8Mrr7674V1VWjOQaDDuo1CRQ";
|
||||
GITEA_RUNNER_NAME = "runner01";
|
||||
GITEA_RUNNER_LABELS = "ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster";
|
||||
};
|
||||
volumes = [
|
||||
"/root/docker/runner01/data:/data"
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
};
|
||||
act_runner_02 = {
|
||||
image = "gitea/act_runner";
|
||||
environment = {
|
||||
GITEA_INSTANCE_URL = "http://10.0.0.24:3000";
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN = "GPf0fQ10T56S5UMb8Mrr7674V1VWjOQaDDuo1CRQ";
|
||||
GITEA_RUNNER_NAME = "runner02";
|
||||
GITEA_RUNNER_LABELS = "ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster";
|
||||
};
|
||||
volumes = [
|
||||
"/root/docker/runner02/data:/data"
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
};
|
||||
volumes = [
|
||||
"/root/docker/runner02/data:/data"
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue