Compare commits

..

2 Commits

Author SHA1 Message Date
3wc
8789bec57c bump TRAEFIK_YML_VERSION 2022-09-27 16:42:18 -04:00
3wc
dd65184308 Add minecraft port 2022-05-07 00:10:13 +01:00
5 changed files with 17 additions and 6 deletions

View File

@ -102,3 +102,7 @@ COMPOSE_FILE="compose.yml"
## Matrix
#COMPOSE_FILE="$COMPOSE_FILE:compose.matrix.yml"
#MATRIX_FEDERATION_ENABLED=1
## Minecraft
#COMPOSE_FILE="$COMPOSE_FILE:compose.minecraft.yml"
#MINECRAFT_ENABLED=1

View File

@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v14
export TRAEFIK_YML_VERSION=v16
export FILE_PROVIDER_YML_VERSION=v6
export ENTRYPOINT_VERSION=v2

7
compose.minecraft.yml Normal file
View File

@ -0,0 +1,7 @@
version: "3.8"
services:
app:
environment:
- MINECRAFT_ENABLED
ports:
- 25565:25565

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "traefik:v2.8.0"
image: "traefik:v2.5.6"
# Note(decentral1se): *please do not* add any additional ports here.
# Doing so could break new installs with port conflicts. Please use
# the usual `compose.$app.yml` approach for any additional ports
@ -47,7 +47,7 @@ services:
- "traefik.http.routers.traefik.tls.options=default@file"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.middlewares=security@file"
- "coop-cloud.${STACK_NAME}.version=1.1.0+v2.8.0"
- "coop-cloud.${STACK_NAME}.version=1.0.1+v2.5.6"
networks:
proxy:

View File

@ -54,9 +54,9 @@ entrypoints:
mumble-udp:
address: ":64738/udp"
{{ end }}
{{ if eq (env "COMPY_ENABLED") "1" }}
compy:
address: ":9999"
{{ if eq (env "MINECRAFT_ENABLED") "1" }}
minecraft:
address: ":25565"
{{ end }}
{{ if eq (env "METRICS_ENABLED") "1" }}
metrics: