forked from coop-cloud/traefik
feat: add support for Minecraft (#155)
<!-- Thank you for doing recipe maintenance work! Please mark all checklist items which are relevant for your changes. Please remove the checklist items which are not relevant for your changes. Feel free to remove this comment. --> * [x] I have deployed and tested my changes * [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [ ] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes) Reviewed-on: coop-cloud/traefik#155 Co-authored-by: Jasper Spahl <jasperspahl@web.de>
This commit is contained in:
@@ -199,6 +199,10 @@ WRITE_TIMEOUT=0s
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.mumble.yml"
|
||||
#MUMBLE_ENABLED=1
|
||||
|
||||
## Minecraft
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.minecraft.yml"
|
||||
#MINECRAFT_ENABLED=1
|
||||
|
||||
## Matrix
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.matrix.yml"
|
||||
#MATRIX_FEDERATION_ENABLED=1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export TRAEFIK_YML_VERSION=v37
|
||||
export TRAEFIK_YML_VERSION=v38
|
||||
export FILE_PROVIDER_YML_VERSION=v14
|
||||
export ENTRYPOINT_VERSION=v5
|
||||
export ANUBIS_YML_VERSION=v1
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- MINECRAFT_ENABLED
|
||||
ports:
|
||||
- target: 25565
|
||||
published: 25565
|
||||
protocol: tcp
|
||||
mode: host
|
||||
@@ -143,6 +143,10 @@ entrypoints:
|
||||
metrics-internal:
|
||||
address: ":8082"
|
||||
{{- end }}
|
||||
{{- if eq (env "MINECRAFT_ENABLED") "1" }}
|
||||
minecraft:
|
||||
address: ":25565"
|
||||
{{- end }}
|
||||
|
||||
ping:
|
||||
entryPoint: web
|
||||
|
||||
Reference in New Issue
Block a user