Comments (6)
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.
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.
Seems right but did you made sure that your Minecraft containers are in the same Docker network as your infrared container ?
from infrared.
networks:
- minecraft
i set both in the network minecraft. i created the network externally.
from infrared.
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.
Please make sure Proxy Protocol isnt enabled, except for servers which are configured to handel custom proxy protocol packages
from infrared.
Related Issues (20)
- Failed to verify username/invalid session HOT 2
- Failed to start service while the config path contains a directory that is behind symlinks link
- Constantly restarting HOT 2
- support linux-zerocopy?
- Add SOCKS5 support
- When using BungeeCord you cannot join the server. HOT 3
- API for developers (like plugins for Bungeecord) HOT 1
- A waiting/limbo server while the docker container with the actual server starts HOT 2
- Seems like an error with config refresh HOT 4
- block some config generation
- Infrared cannot ping or pass connection to server HOT 4
- Infrared cannot show motd when server is not reachable HOT 1
- MITM functionality HOT 4
- Can you add Whitelist Mechanism ? And Create/Read/Update/Delete Configs HOT 2
- Query protocol HOT 3
- SRV records may not be routed correctly. HOT 3
- Forward player list of server
- Unable to set ipv6 address to bind gateway to HOT 2
- Website https://infrared.dev/ invalid cert HOT 2
- Configurating a solution that allows it to select an online server from multiple entries under the same domain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infrared.