{"id":50137800,"url":"https://github.com/asgarrrr/hetzner-minecraft","last_synced_at":"2026-05-23T23:08:39.062Z","repository":{"id":353111198,"uuid":"1217995647","full_name":"Asgarrrr/hetzner-minecraft","owner":"Asgarrrr","description":"Docker Compose setup to run All the Mods 10 on a Hetzner VPS, with room for a future Discord bot.","archived":false,"fork":false,"pushed_at":"2026-04-22T14:21:09.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-22T15:16:14.788Z","etag":null,"topics":["all-the-mods-10","atm10","curseforge","docker-compose","hetzner","minecraft","vps"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Asgarrrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T12:34:15.000Z","updated_at":"2026-04-22T14:21:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Asgarrrr/hetzner-minecraft","commit_stats":null,"previous_names":["asgarrrr/hetzner-minecraft"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Asgarrrr/hetzner-minecraft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asgarrrr%2Fhetzner-minecraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asgarrrr%2Fhetzner-minecraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asgarrrr%2Fhetzner-minecraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asgarrrr%2Fhetzner-minecraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asgarrrr","download_url":"https://codeload.github.com/Asgarrrr/hetzner-minecraft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asgarrrr%2Fhetzner-minecraft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33415061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"ssl_error","status_checked_at":"2026-05-23T22:14:43.778Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["all-the-mods-10","atm10","curseforge","docker-compose","hetzner","minecraft","vps"],"created_at":"2026-05-23T23:08:32.629Z","updated_at":"2026-05-23T23:08:39.045Z","avatar_url":"https://github.com/Asgarrrr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hetzner Minecraft\n\nMinimal repo for running **All the Mods 10** on a Hetzner VPS with Docker Compose.\n\nThe repository currently runs Minecraft only, with a reserved `services/discord-bot/` directory for a future bot.\n\n## Structure\n\n```text\n.\n├── compose.yml\n├── .env.example\n├── scripts/\n│   ├── bootstrap-ubuntu.sh\n│   └── provision-ubuntu.sh\n├── services/\n│   ├── minecraft/\n│   └── discord-bot/\n└── volumes/\n    └── minecraft/\n```\n\n- `compose.yml`: shared Docker orchestration for the repo\n- `scripts/bootstrap-ubuntu.sh`: Ubuntu bootstrap script for Docker + first deploy\n- `scripts/provision-ubuntu.sh`: fresh-server provisioner with dedicated user + clone + bootstrap\n- `services/minecraft/`: docs and files related to the Minecraft server\n- `services/discord-bot/`: reserved location for the future bot\n- `volumes/minecraft/`: persistent server data\n\n## Prerequisites\n\n- a Hetzner VPS\n- a CurseForge API key\n\n## Bootstrap\n\nOn a fresh Ubuntu server, after cloning the repo:\n\n```bash\nchmod +x scripts/bootstrap-ubuntu.sh\n./scripts/bootstrap-ubuntu.sh\n```\n\nThe script will:\n\n- install Docker Engine and the Compose plugin if needed\n- create `.env` from `.env.example` if missing\n- ask for `CF_API_KEY` and `RCON_PASSWORD` if they are not already set\n- create `./volumes/minecraft`\n- pull the image and start the stack\n\nYou can also run it non-interactively:\n\n```bash\nCF_API_KEY='your_token' RCON_PASSWORD='your_password' ./scripts/bootstrap-ubuntu.sh\n```\n\nOptional overrides:\n\n```bash\nCF_API_KEY='your_token' \\\nRCON_PASSWORD='your_password' \\\nMEMORY=20G \\\nINIT_MEMORY=4G \\\nVIEW_DISTANCE=6 \\\nSIMULATION_DISTANCE=4 \\\nMOTD=\"Eternia ATM10\" \\\n./scripts/bootstrap-ubuntu.sh\n```\n\nIf you also want the script to open Minecraft in UFW, set `OPEN_UFW=1`.\n\n## Fresh Server Provisioning\n\nIf you want the server to:\n\n- create a dedicated system user\n- clone or update the repo\n- run the bootstrap automatically\n\nuse `scripts/provision-ubuntu.sh`.\n\nWith a public repo, the shortest path on a fresh server is:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/Asgarrrr/hetzner-minecraft/main/scripts/provision-ubuntu.sh -o provision-ubuntu.sh\nsudo env CF_API_KEY='your_token' \\\nRCON_PASSWORD='your_password' \\\nAPP_USER=minecraft \\\nAPP_HOME=/opt/hetzner-minecraft \\\nbash provision-ubuntu.sh\n```\n\nIf your CurseForge key starts with `$2a$10$...`, keep the single quotes exactly as shown above. On the current version of this repo, that is enough: the key is passed to the container through `env_file`, so you do not need to double the dollar signs in `.env`.\n\nThe default `REPO_URL` already points to `https://github.com/Asgarrrr/hetzner-minecraft.git`, so you only need to override it if you fork or rename the repository.\n\nIf you ever switch back to a private repo, use either:\n\n```bash\nsudo REPO_URL=git@github.com:Asgarrrr/hetzner-minecraft.git bash provision-ubuntu.sh\n```\n\nor:\n\n```bash\nsudo GITHUB_TOKEN=your_token bash provision-ubuntu.sh\n```\n\nUseful options:\n\n- `APP_USER`: dedicated Linux user, default `minecraft`\n- `APP_USER_HOME`: Linux home directory for that user, default `/home/minecraft`\n- `APP_HOME`: target directory, default `/opt/hetzner-minecraft`\n- `REPO_REF`: git branch/tag, default `main`\n- `UPDATE_REPO=1`: fetch and fast-forward an existing checkout\n- `RUN_BOOTSTRAP=0`: stop after clone/update\n- all bootstrap variables such as `CF_API_KEY`, `RCON_PASSWORD`, `MEMORY`, `MOTD`, `OPEN_UFW`\n\n## Manual Installation\n\n1. Copy `.env.example` to `.env`\n2. Set `CF_API_KEY` and `RCON_PASSWORD`\n3. Start the server:\n\n```bash\ndocker compose up -d\n```\n\n4. Open port `25565/tcp` in the VPS firewall\n5. Follow the logs during first boot:\n\n```bash\ndocker compose logs -f minecraft\n```\n\nThe first boot can take a while: the container downloads the image, then the ATM10 modpack.\n\n## Configuration\n\nMain variables in `.env`:\n\n- `CF_API_KEY`: required to download the CurseForge modpack\n- `RCON_PASSWORD`: RCON password\n- `ALLOW_FLIGHT`: set to `true` to avoid kicks when modded flight is detected\n- `MEMORY`: Java max heap, `16G` by default\n- `INIT_MEMORY`: Java initial heap, `4G` by default\n- `CF_FILENAME_MATCHER`: ATM10 version to install, `6.6` by default\n\n## Data\n\nAll persistent data is stored in `./volumes/minecraft`.\n\nIf you want to migrate an existing world later, place the world files in that directory before restarting the container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasgarrrr%2Fhetzner-minecraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasgarrrr%2Fhetzner-minecraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasgarrrr%2Fhetzner-minecraft/lists"}