Refactor
This commit is contained in:
1 parent
b82393272c
commit
9a89479f66
26 files changed
+1385
-1380
No files matched your search
@@ -13,27 +13,30 @@ let
|
||||
};
|
||||
};
|
||||
in {
|
||||
sops = true;
|
||||
paths = [{
|
||||
path="${serverCfg.path.data}/ethercalc/";
|
||||
mode = "0666";
|
||||
}];
|
||||
requires.secrets = [ name ];
|
||||
|
||||
containers = {
|
||||
server = builder.mkContainer {
|
||||
subdomain = containerCfg.subdomain;
|
||||
imageStream = image;
|
||||
port = 8080;
|
||||
secret = name;
|
||||
extraEnv = {
|
||||
ETHERCALC_PORT = "8080";
|
||||
#CONNECT TO REDIS
|
||||
runtime = {
|
||||
paths = [{
|
||||
path="${serverCfg.path.data}/ethercalc/";
|
||||
mode = "0666";
|
||||
}];
|
||||
|
||||
containers = {
|
||||
server = builder.mkContainer {
|
||||
subdomain = containerCfg.subdomain;
|
||||
imageStream = image;
|
||||
port = 8080;
|
||||
secret = name;
|
||||
extraEnv = {
|
||||
ETHERCALC_PORT = "8080";
|
||||
#CONNECT TO REDIS
|
||||
};
|
||||
overrides = {
|
||||
volumes = [
|
||||
"${serverCfg.path.data}/ethercalc:/data"
|
||||
];
|
||||
};
|
||||
};
|
||||
overrides = {
|
||||
volumes = [
|
||||
"${serverCfg.path.data}/ethercalc:/data"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user