manual method - GodotNuts/GodotServer-Docker GitHub Wiki
Manual Method (You Supply The PCK)
This system will use a few variables to auto create a docker container and clone a godot game into it. Once done it will automatically start the Godot Server. You need to make sure that the PCK file is in the root of the repo you are cloning or this will not work.
The best way to do this for now is to have a public repo with the PCK file in it
- Ensure you have a
.PCK
file in a repo ready to clone - Clone the repository to your docker server and use the files in
manual-export
- Edit the file
docker-compose.yaml
with the correct information- Change the ports to the correct values
- Edit the
dockerfile
to have the correct information for the server to download and run the Godot Application- Edit
GODOT_VERSION
to use the correct version of Godot you want - Edit
GODOT_GAME_NAME
to the name of the .PCK file you are using without the .PCK- Ex.
Godot_Game.pck
would beGodot_Game
- Ex.
- Edit
HTTPS_GIT_REPO
to be used in the clone command
- Edit
- Run the docker container with the command
docker-compose up -d