Skip to content

Commit

Permalink
Add port bindings to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Oct 22, 2024
1 parent 37f515c commit 5d2f7a7
Show file tree
Hide file tree
Showing 30 changed files with 127 additions and 30 deletions.
5 changes: 4 additions & 1 deletion 7days2die/7days2die.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"26900:26900/tcp"
]
}
],
"requirements": {
Expand Down
6 changes: 5 additions & 1 deletion ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp",
"${queryport}:${queryport}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion arma3/arma3.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
7 changes: 6 additions & 1 deletion csgo/csgo.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,12 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd:ubuntu-20"
"image": "steamcmd/steamcmd:ubuntu-20",
"portBindings": [
"${port}:${port}/tcp",
"${clientport}:${clientport}/tcp",
"${tvport}:${tvport}/tcp"
]
}
],
"requirements": {
Expand Down
7 changes: 6 additions & 1 deletion css/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp",
"${clientport}:${clientport}/tcp",
"${tvport}:${tvport}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion eco9/eco9.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion factorio/factorio.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
},
{
"type": "docker",
"image": "pufferpanel/ubuntu"
"image": "pufferpanel/ubuntu",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion fivem/fivem.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@
},
{
"type": "docker",
"image": "pufferpanel/ubuntu"
"image": "pufferpanel/ubuntu",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion gmod/gmod.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion minecraft-bedrock/minecraft-bedrock.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@
},
{
"type": "docker",
"image": "pufferpanel/ubuntu"
"image": "pufferpanel/ubuntu",
"portBindings": [
"${server-port}:${server-port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion minecraft-bungeecord/minecraft-bungeecord.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:17"
"image": "eclipse-temurin:17",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {}
Expand Down
5 changes: 4 additions & 1 deletion minecraft-curseforge/minecraft-curseforge.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:${javaversion}"
"image": "eclipse-temurin:${javaversion}",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {},
Expand Down
5 changes: 4 additions & 1 deletion minecraft-ftb/minecraft-ftb.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:${javaversion}"
"image": "eclipse-temurin:${javaversion}",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion minecraft-velocity/minecraft-velocity.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:17"
"image": "eclipse-temurin:17",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {},
Expand Down
5 changes: 4 additions & 1 deletion minecraft-waterfall/minecraft-waterfall.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:17"
"image": "eclipse-temurin:17",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {},
Expand Down
5 changes: 4 additions & 1 deletion minecraft/minecraft.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@
},
{
"type": "docker",
"image": "eclipse-temurin:${javaversion}"
"image": "eclipse-temurin:${javaversion}",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {},
Expand Down
5 changes: 4 additions & 1 deletion pocketmine/pocketmine.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@
},
{
"type": "docker",
"image": "pufferpanel/ubuntu"
"image": "pufferpanel/ubuntu",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion rust/rust.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion satisfactory/satisfactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion squad/squad.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion starbound/starbound.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${gameServerPort}:${gameServerPort/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion stn/stn.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {}
Expand Down
7 changes: 6 additions & 1 deletion teamspeak3/teamspeak3.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@
},
{
"type": "docker",
"image": "ubuntu"
"image": "ubuntu",
"portBindings": [
"${ftport}:${ftport}/tcp",
"${vport}:${vport}/tcp",
"${qport}:${qport}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion terraria-tmodloader/terraria-tmodloader.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,10 @@
},
{
"type": "docker",
"image": "mcr.microsoft.com/dotnet/runtime:${dotnetversion}"
"image": "mcr.microsoft.com/dotnet/runtime:${dotnetversion}",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion terraria-tshock/terraria-tshock.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@
},
{
"type": "docker",
"image": "mcr.microsoft.com/dotnet/runtime:${dotnetversion}"
"image": "mcr.microsoft.com/dotnet/runtime:${dotnetversion}",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion terraria-vanilla/terraria-vanilla.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@
},
{
"type": "docker",
"image": "pufferpanel/ubuntu"
"image": "pufferpanel/ubuntu",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion tf2/tf2.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
},
{
"type": "docker",
"image": "pufferpanel/steamcmd"
"image": "pufferpanel/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion unturned/unturned.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion valheim/valheim.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down
5 changes: 4 additions & 1 deletion zomboid/zomboid.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd",
"portBindings": [
"${port}:${port}/tcp"
]
}
],
"requirements": {
Expand Down

0 comments on commit 5d2f7a7

Please sign in to comment.