Pugmatt / BedrockConnect

Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
GNU General Public License v3.0
1.37k stars 159 forks source link

synology NAS / Docker implementation users? #429

Open bitofanooob opened 11 months ago

bitofanooob commented 11 months ago

Hello. i would like to know if anyone is running your software on a synology / docker situation. I have one going but it was not a peace of cake. No database connected but used the start command (only time to do that is when u create the server) RUN COMMAND: java -Xms256M -Xmx256M -jar BedrockConnect-1.0-SNAPSHOT.jar nodb=true BUT i had to use double -- and double == , not sure when because i could not setup another working. i also wonder if i should map a folder to put the database in? i would like to use a database on this but need to point to the database in my environment settings? or also from run command? If anyone had a docker seedll server running with a database, please share what u did :)

xTITUSMAXIMUSX commented 11 months ago
  1. You should be mapping your DB to a directory on synology to preserve data .
  2. If you want to run a DB with your setup you'll need to update the parameters on the docker container and omit nodb=true and then add mysql_host, mysql_db, mysql_user and mysql_pass (Documentation is HERE )
  3. I'm not sure what to thing about the -- and == issue on synology. You might need to do some research on that.
patrickgmail commented 1 month ago

Hello, I installed BedrockConnect Server on my synology in a docker container (by a portainer stack). So, I can confirm that it is posible. It runs fine for my android and windows minecraft. Saddly, my xbox doesn't see it at now. I'm still working on that.

I'd like to add my own custom servers but I don't undertand where is the json file (neither wich name it has). Anybody knows if there is any way to use a persistant folder where I should be abble to put this json file ?