fix: remove star technology + flake update
This commit is contained in:
@@ -26,7 +26,6 @@ additionalArguments:
|
|||||||
- "--entryPoints.ssh.address=:22/tcp"
|
- "--entryPoints.ssh.address=:22/tcp"
|
||||||
- "--entryPoints.minecraft-gtnh.address=:25566/tcp"
|
- "--entryPoints.minecraft-gtnh.address=:25566/tcp"
|
||||||
- "--entryPoints.minecraft-tfg.address=:25567/tcp"
|
- "--entryPoints.minecraft-tfg.address=:25567/tcp"
|
||||||
- "--entryPoints.minecraft-star-technology.address=:25568/tcp"
|
|
||||||
ports:
|
ports:
|
||||||
ssh:
|
ssh:
|
||||||
name: ssh
|
name: ssh
|
||||||
@@ -49,10 +48,3 @@ ports:
|
|||||||
expose:
|
expose:
|
||||||
default: true
|
default: true
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
minecraft-star-technology:
|
|
||||||
name: minecraft-star-technology
|
|
||||||
port: 25568
|
|
||||||
exposedPort: 25568
|
|
||||||
expose:
|
|
||||||
default: true
|
|
||||||
protocol: TCP
|
|
||||||
|
|||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762943920,
|
"lastModified": 1764587062,
|
||||||
"narHash": "sha256-ITeH8GBpQTw9457ICZBddQEBjlXMmilML067q0e6vqY=",
|
"narHash": "sha256-hdFa0TAVQAQLDF31cEW3enWmBP+b592OvHs6WVe3D8k=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "91c9a64ce2a84e648d0cf9671274bb9c2fb9ba60",
|
"rev": "c1cb7d097cb250f6e1904aacd5f2ba5ffd8a49ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { NamespaceV1 } from "@cdktf/provider-kubernetes/lib/namespace-v1";
|
|||||||
import { OnePasswordSecret } from "../../utils";
|
import { OnePasswordSecret } from "../../utils";
|
||||||
import { TerraFirmaGreg } from "./tfg";
|
import { TerraFirmaGreg } from "./tfg";
|
||||||
import { GTNH } from "./gtnh";
|
import { GTNH } from "./gtnh";
|
||||||
import { StarTechnology } from "./star-technology";
|
|
||||||
|
|
||||||
export class GamingServices extends TerraformStack {
|
export class GamingServices extends TerraformStack {
|
||||||
constructor(scope: Construct, id: string) {
|
constructor(scope: Construct, id: string) {
|
||||||
@@ -32,6 +31,5 @@ export class GamingServices extends TerraformStack {
|
|||||||
|
|
||||||
new TerraFirmaGreg(this, "tfg", provider, namespace);
|
new TerraFirmaGreg(this, "tfg", provider, namespace);
|
||||||
new GTNH(this, "gtnh", provider, namespace);
|
new GTNH(this, "gtnh", provider, namespace);
|
||||||
new StarTechnology(this, "star-technology", provider, namespace);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
import { Construct } from "constructs";
|
|
||||||
import { KubernetesProvider } from "@cdktf/provider-kubernetes/lib/provider";
|
|
||||||
|
|
||||||
import { MinecraftServer } from "./utils";
|
|
||||||
|
|
||||||
export class StarTechnology extends Construct {
|
|
||||||
constructor(
|
|
||||||
scope: Construct,
|
|
||||||
id: string,
|
|
||||||
provider: KubernetesProvider,
|
|
||||||
namespace: string,
|
|
||||||
) {
|
|
||||||
super(scope, id);
|
|
||||||
|
|
||||||
new MinecraftServer(this, "star-technology", {
|
|
||||||
provider,
|
|
||||||
namespace,
|
|
||||||
image: "itzg/minecraft-server:java21",
|
|
||||||
name: "star-technology",
|
|
||||||
env: [
|
|
||||||
{
|
|
||||||
name: "EULA",
|
|
||||||
value: "TRUE",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "MODE",
|
|
||||||
value: "survival",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "MODPACK_PLATFORM",
|
|
||||||
value: "AUTO_CURSEFORGE",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "CF_API_KEY",
|
|
||||||
valueFrom: {
|
|
||||||
secretKeyRef: {
|
|
||||||
name: "curseforge",
|
|
||||||
key: "credential",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "CF_PAGE_URL",
|
|
||||||
value:
|
|
||||||
"https://www.curseforge.com/minecraft/modpacks/star-technology",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "VERSION",
|
|
||||||
value: "1.20.1",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "INIT_MEMORY",
|
|
||||||
value: "2G",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "MAX_MEMORY",
|
|
||||||
value: "12G",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "ALLOW_FLIGHT",
|
|
||||||
value: "TRUE",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "ENABLE_ROLLING_LOGS",
|
|
||||||
value: "TRUE",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "USE_MEOWICE_FLAGS",
|
|
||||||
value: "TRUE",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user