Bump intray
This commit is contained in:
parent
995359e380
commit
21b6215dee
|
@ -1485,11 +1485,11 @@
|
||||||
"yesod-static-remote": "yesod-static-remote"
|
"yesod-static-remote": "yesod-static-remote"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706971021,
|
"lastModified": 1706973531,
|
||||||
"narHash": "sha256-XFGdsWH2+bz/juhQgGl+FHR5NejVY6FXYpaS/KoQwnM=",
|
"narHash": "sha256-GvJlqUF0OXf2llL4HvNa/zosPRpizVHG2KxuKG7ehEw=",
|
||||||
"owner": "Mateiadrielrafael",
|
"owner": "Mateiadrielrafael",
|
||||||
"repo": "intray",
|
"repo": "intray",
|
||||||
"rev": "caea9527db34c2b0b04543e83164563e2f44e365",
|
"rev": "e8b37c624cc3fd92489b761897834bafb5aa2f12",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -3,7 +3,6 @@ let
|
||||||
username = "prescientmoon";
|
username = "prescientmoon";
|
||||||
apiHost = "api.intray.moonythm.dev";
|
apiHost = "api.intray.moonythm.dev";
|
||||||
apiPort = 8402;
|
apiPort = 8402;
|
||||||
webHost = "intray.moonythm.dev";
|
|
||||||
webPort = 8403;
|
webPort = 8403;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -15,14 +14,15 @@ in
|
||||||
# {{{ Configure intray
|
# {{{ Configure intray
|
||||||
services.intray.production = {
|
services.intray.production = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = false;
|
|
||||||
api-server = {
|
api-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
openFirewall = false;
|
||||||
port = apiPort;
|
port = apiPort;
|
||||||
admins = [ username ];
|
admins = [ username ];
|
||||||
};
|
};
|
||||||
web-server = {
|
web-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
openFirewall = false;
|
||||||
port = webPort;
|
port = webPort;
|
||||||
api-url = "https://${apiHost}";
|
api-url = "https://${apiHost}";
|
||||||
};
|
};
|
||||||
|
@ -30,7 +30,7 @@ in
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Networking & storage
|
# {{{ Networking & storage
|
||||||
services.nginx.virtualHosts.${apiHost} = config.satellite.proxy apiPort { };
|
services.nginx.virtualHosts.${apiHost} = config.satellite.proxy apiPort { };
|
||||||
services.nginx.virtualHosts.${webHost} = config.satellite.proxy webPort { };
|
services.nginx.virtualHosts."intray.moonythm.dev" = config.satellite.proxy webPort { };
|
||||||
|
|
||||||
environment.persistence."/persist/state".directories = [
|
environment.persistence."/persist/state".directories = [
|
||||||
"/www/intray/production/data"
|
"/www/intray/production/data"
|
||||||
|
|
Loading…
Reference in a new issue