easy method - GodotNuts/GodotServer-Docker GitHub Wiki

Easy Method (Auto Export)

This is the easy method, and the one we suggest using. The system will reach out to your repository and clone the entire Godot project. It will then export it using ghr Linxu/X11 export template and start the server.

  1. Clone the repository to your docker server and use the files in auto-export
  2. Edit the file docker-compose.yaml with the correct information
    1. Change the ports to the correct values
  3. Edit the dockerfile to have the correct information for the server to download and run the Godot Application
    1. Edit GODOT_VERSION to use the correct version of Godot you want
    2. Edit GODOT_GAME_NAME, the system will auto generate the PCK with this name
    3. Edit HTTPS_GIT_REPO to the repo with all the unexported Godot files
  4. Run the docker container with the command docker-compose up -d