ma tonie: use new backend_is_local deployment
This commit is contained in:
parent
00b5478f09
commit
876aecb4d2
@ -27,13 +27,10 @@ in
|
|||||||
];
|
];
|
||||||
networking.firewall.allowedTCPPorts = [ frontend_port backend_port ];
|
networking.firewall.allowedTCPPorts = [ frontend_port backend_port ];
|
||||||
virtualisation.oci-containers.containers.toniebox-front = {
|
virtualisation.oci-containers.containers.toniebox-front = {
|
||||||
image = "makefoo/toniebox-audio-match_front:1.0.0";
|
image = "makefoo/toniebox-audio-match_front:1.0.1";
|
||||||
inherit user;
|
inherit user;
|
||||||
environment = {
|
environment = {
|
||||||
VUE_APP_BACKEND_SCHEME = "http";
|
VUE_APP_BACKEND_IS_LOCAL = "true";
|
||||||
VUE_APP_BACKEND_HOST = backend_host;
|
|
||||||
#VUE_APP_BACKEND_PORT = toString backend_port;
|
|
||||||
VUE_APP_BACKEND_PORT = "80";
|
|
||||||
};
|
};
|
||||||
ports = [ "${toString frontend_port}:8080" ];
|
ports = [ "${toString frontend_port}:8080" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
|
Loading…
Reference in New Issue
Block a user