{"id":23881400,"url":"https://github.com/dhzdhd/mcserver","last_synced_at":"2026-04-12T18:03:13.027Z","repository":{"id":265737011,"uuid":"896488738","full_name":"dhzdhd/mcserver","owner":"dhzdhd","description":"Infrastructure for a minecraft server hosted on an Azure VM","archived":false,"fork":false,"pushed_at":"2024-12-23T15:09:09.000Z","size":42,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T01:45:24.689Z","etag":null,"topics":["ansible","azure","docker","iac","minecraft","pulumi","server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhzdhd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T13:54:41.000Z","updated_at":"2024-12-23T15:09:13.000Z","dependencies_parsed_at":"2024-12-12T13:26:04.302Z","dependency_job_id":null,"html_url":"https://github.com/dhzdhd/mcserver","commit_stats":null,"previous_names":["dhzdhd/mcserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhzdhd%2Fmcserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhzdhd%2Fmcserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhzdhd%2Fmcserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhzdhd%2Fmcserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhzdhd","download_url":"https://codeload.github.com/dhzdhd/mcserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254181,"owners_count":19772387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","azure","docker","iac","minecraft","pulumi","server"],"created_at":"2025-01-04T01:45:31.313Z","updated_at":"2026-04-12T18:03:07.969Z","avatar_url":"https://github.com/dhzdhd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft Server\n\n## Setup\n\n### Prerequisites\n\n- Download [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html), [Pulumi](https://www.pulumi.com/docs/iac/download-install/), [RClone](https://rclone.org/install/), [Poetry](https://python-poetry.org/docs/#installation) and [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)\n- Run `az login` to login to your Microsoft account for Pulumi\n- Create a remote for storing backups by running - `rclone --config ./rclone.config config` and follow the instructions shown.\n- Create a `.env` file using `.env-example` as a template\n- Download backups from OneDrive if they exist (only the needed `.tgz` file)\n- Run `pulumi config set azure-native:location \u003cdesired_location\u003e`\n- Install all Ansible roles with `ansible-galaxy install -r requirements.yml`\n\n\n### Local setup\n\n- Copy the preferred backup `.tgz` file to `backups/` directory\n- Run `poetry install` in `iac/pulumi` directory\n- Run `pulumi -C iac/pulumi up -y`\n- Copy the IP address returned by pulumi to `ansible_host` key in the `cloudgroup` group in `iac/ansible/hosts.yml`\n- Run `ansible-playbook --ask-become-pass -i iac/ansible/hosts.yml iac/ansible/playbooks/main.yml`\n- Access the server at `\u003cip_address\u003e:25565`\n\n### Shutdown \u0026 Cleanup\n\n- Run `pulumi -C iac/pulumi down -y`\n\n## Configuration\n\n### Server config\n\n- To change server name/VM/location/image..., edit `iac/pulumi/Pulumi.dev.yaml`\n- To edit Ansible host config, edit `iac/ansible/hosts.yaml`\n\n### Minecraft config\n\n- To change Minecraft server settings/commands on startup..., edit the environment section in the `mcserver` service in `docker-compose.yml`\n\n## Credit\n\n- [itzg Docker Minecraft server](https://github.com/itzg/docker-minecraft-server)\n- [itzg Docker Minecraft backup server](https://github.com/itzg/docker-mc-backup)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhzdhd%2Fmcserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhzdhd%2Fmcserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhzdhd%2Fmcserver/lists"}