feat: change domain
This commit is contained in:
parent
0b185fd607
commit
f037d1dd80
1 changed files with 11 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
services.traefik.dynamicConfigOptions.http = {
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
routers.forgejo = {
|
routers.forgejo = {
|
||||||
rule = "Host(`git.dokkae.duckdns.org`)";
|
rule = "Host(`git.dokkae.com`)";
|
||||||
service = "forgejo";
|
service = "forgejo";
|
||||||
entryPoints = [ "websecure" ];
|
entryPoints = [ "websecure" ];
|
||||||
tls = { certResolver = "letsencrypt"; };
|
tls = { certResolver = "letsencrypt"; };
|
||||||
|
|
@ -17,13 +17,16 @@
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
loadBalancer.servers = [
|
loadBalancer.servers = [
|
||||||
{ url = "http://localhost:3003"; }
|
{ url = "http://localhost:3000"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
user = "forgejo";
|
||||||
|
group = "forgejo";
|
||||||
|
|
||||||
database = {
|
database = {
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
host = "/run/postgresql";
|
host = "/run/postgresql";
|
||||||
|
|
@ -37,13 +40,13 @@
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = "localhost";
|
DOMAIN = "localhost";
|
||||||
PROTOCOL = "http";
|
PROTOCOL = "http";
|
||||||
HTTP_PORT = 3003;
|
HTTP_PORT = 3000;
|
||||||
|
|
||||||
# Used for web-displayed URL references.
|
# Used for web-displayed URL references.
|
||||||
ROOT_URL = "https://git.dokkae.duckdns.org/";
|
ROOT_URL = "https://git.dokkae.com/";
|
||||||
|
|
||||||
# SSH Settings
|
# SSH Settings
|
||||||
SSH_DOMAIN = "git.dokkae.duckdns.org";
|
SSH_DOMAIN = "ssh.dokkae.com";
|
||||||
SSH_PORT = 22;
|
SSH_PORT = 22;
|
||||||
START_SSH_SERVER = false;
|
START_SSH_SERVER = false;
|
||||||
};
|
};
|
||||||
|
|
@ -64,8 +67,10 @@
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
SMTP_ADDR = "smtp.gmail.com";
|
SMTP_ADDR = "smtp.gmail.com";
|
||||||
FROM = "noreply@git.dokkae.duckdns.org";
|
FROM = "noreply@git.dokkae.com";
|
||||||
USER = "finnliry@gmail.com";
|
USER = "finnliry@gmail.com";
|
||||||
|
PROTOCOL = "smtps";
|
||||||
|
SMTP_PORT = 465;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue