Replace the placeholder with your values. You can find this command and actual values for your username, password and Azure Registry location from your PlayFab’s Dashboard Multiplayer Tab and when your select Platform Linux instead of Windows, it will give you your version of this command.(You can directly copy it from there and run it in the command prompt) docker tag myregistry.io/mygame:0.1 /pvp_gameserver:v1 docker push /pvp_gameserver:v1 You can name it anything you want and with whatever version number(here 0.1) docker login -username customer5555555 -password HRDFOdIebJkvBAS+usa55555555 Open Command Prompt in your Build Folder and write following commands one by one:ĭocker build -t myregistry.io/mygame:0.1.Replace MyBuildFolder with your Build Folder name and MyGame.x89_64 Linux executable file name with your Linux executable filename.In your Build folder add a docker file and add these lines to it :įROM ubuntu:18.04 WORKDIR /MyBuildFolder ADD.So you need to have docker installed on your device. You need to create a docker container and publish to the Azure Docker Registry. Region you are selecting here also needs to be included in the ClientStartup.cs script in RequestMultiplayerServer function as mentioned above.Also, instead of TCP you need to set UDP for your port if your are using UDP Transport protocol in your Mirror project.(Check mirror documentation for that, in the scripts above I have used KcpTransport which is UDP).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |