Giter Site home page Giter Site logo

Comments (6)

MB175 avatar MB175 commented on May 19, 2024

Hello @DerSteph can you provide us with your docker-compose file, as well as one of your proxy config Files.
In Addition please make sure the Containers you want to connect to are set to the same docker network.

from infrared.

DerSteph avatar DerSteph commented on May 19, 2024

docker-compose.yml for infrared

`version: "3.3"

services:
infrared:
build: https://github.com/haveachin/infrared.git
container_name: infrared
restart: unless-stopped
stdin_open: true
tty: true
volumes:
- /usr/local/infrared/configs/:/configs
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "25565:25565"
expose:
- "25565"
networks:
- minecraft
environment:
- INFRARED_DEBUG=true

networks:
minecraft:
external: true
`

docker-compose.yml for mc server
`version: "3.3"

services:
papermc:
image: phyremaster/papermc
container_name: papermc
restart: unless-stopped
volumes:
- /usr/local/papermc/:/papermc
networks:
- minecraft
mc:
image: itzg/minecraft-server
container_name: mc
restart: unless-stopped
networks:
- minecraft
environment:
- EULA=true

networks:
minecraft:
external: true
`

mc.locald.yml configfile
DomainName: "mc.locald" ProxyTo: ":25565" ProxyProtocol: true Docker: ContainerName: "papermc" Server: Version: "1.16.5"

mc2.locald.yml configfile
DomainName: "mc2.locald" ProxyTo: ":25565" ProxyProtocol: true Docker: ContainerName: "mc"

my testsystem runs on a vmware virtual machine and i set the subdomains via my /etc/hosts file under Windows

from infrared.

MB175 avatar MB175 commented on May 19, 2024

Seems right but did you made sure that your Minecraft containers are in the same Docker network as your infrared container ?

from infrared.

DerSteph avatar DerSteph commented on May 19, 2024

networks:

  • minecraft

i set both in the network minecraft. i created the network externally.

grafik

from infrared.

haveachin avatar haveachin commented on May 19, 2024

I think you are missing your container names in your infrared configs. Try adding them to the ProxyTo field:

mc.locald.yml
ProxyTo: "papermc:25565"

mc2.locald.yml
ProxyTo: "mc:25565"

If you're still experiencing problems with your configuration then feel free to hop in our Discord server (expires in 24h)

from infrared.

MB175 avatar MB175 commented on May 19, 2024

Please make sure Proxy Protocol isnt enabled, except for servers which are configured to handel custom proxy protocol packages

from infrared.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.