mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-24 11:55:24 +01:00
ff1709ef3b
* build(deps): bump github.com/docker/docker in the patches group Bumps the patches group with 1 update: [github.com/docker/docker](https://github.com/docker/docker). Updates `github.com/docker/docker` from 26.1.1+incompatible to 26.1.2+incompatible - [Release notes](https://github.com/docker/docker/releases) - [Commits](https://github.com/docker/docker/compare/v26.1.1...v26.1.2) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patches ... Signed-off-by: dependabot[bot] <support@github.com> * Bump to Go 1.22.3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
28 lines
603 B
YAML
28 lines
603 B
YAML
services:
|
|
vanilla:
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: "TRUE"
|
|
forge:
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: "TRUE"
|
|
TYPE: FORGE
|
|
router:
|
|
image: ${MC_ROUTER_IMAGE:-itzg/mc-router}
|
|
depends_on:
|
|
- forge
|
|
- vanilla
|
|
environment:
|
|
# enable API
|
|
API_BINDING: ":25564"
|
|
DEBUG: true
|
|
MAPPING: |
|
|
vanilla.example.com=vanilla:25565
|
|
forge.example.com=forge:25565
|
|
ports:
|
|
- "25565:25565"
|
|
# bind the API port to only loopback to avoid external exposure
|
|
- "127.0.0.1:25564:25564"
|
|
|