GithubHelp home page GithubHelp logo

anthonyvadala / balena-pi-hole_minecraft-server Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 8 KB

Quickly deploy Pi-hole & Minecraft Server using balenaCloud

balena balenacloud minecraft-server pi-hole raspberry-pi-4 raspberry-pi dashboard

balena-pi-hole_minecraft-server's Introduction

balena Pi-hole & Minecraft Server

If you are looking for a way to quickly and easily get up and running with Pi-hole and a Minecraft Server for your home network, this is the project for you.

This project is a balenaCloud stack

balenaCloud is a free service to remotely manage and update your Raspberry Pi through an online dashboard interface.

Getting Started

  • A free balenaCloud account
  • Raspberry Pi 4B (4GB Model HIGHLY recommended)
  • A fan to cool the CPU on the Raspberry Pi
  • 16GB or greater micro SD Card (SanDisk Extreme Pro SD cards recommended)

Setting Up

Setup the Raspberry Pi

  • Login to the balenaCloud dashboard
  • Create an application, selecting the correct device type for your Raspberry Pi
  • Add a device to the application, enabling you to download the OS
  • Flash the downloaded OS to your SD card with balenaEtcher
  • Power up the Pi and check it's online in the dashboard
  • Configure Application Environment Variables

Application Environment Variables

Application Environment Variables apply to all services within the application, and can be applied fleet-wide to apply to multiple devices.

Pi-Hole Variables
Name Example Purpose
TZ America/New_York To inform services of the timezone in your location, in order to set times and dates within the applications correctly. Find a list of all timezone values here.
DNSMASQ_LISTENING eth0 We set this to eth0 to indicate we want DNSMASQ to listen on the ethernet interface of the Raspberry Pi. If you're connecting to your network with WiFi replace this with wlan0
INTERFACE eth0 As above.
WEBPASSWORD mysecretpassword (optional) password for accessing the web-based interface of Pi-hole - you won’t be able to access the admin panel without defining a password here.
DNS1 127.0.0.1#5053 (optional) Tell Pi-hole where to forward DNS requests that aren’t blocked. We’re using the dnscrypt-proxy project here but you can specify your own.
DNS2 127.0.0.1#5053 (optional) Secondary DNS server - see above.
ServerIP x.x.x.x (recommended) Set to your server's LAN IP, used by web block modes and lighttpd bind address.
Minecraft Server Variables
Name Example Purpose
SCP_PASSWORD balenaserver (optional) Set your own SCP password, defaults to balenaminecraftserver
DEVICE_HOSTNAME balenaminecraftserver (optional) Set your own device hostname.
DOUBLE_RAM false (recommended) The default value used by a Minecraft server is 1GB if value is set to true doubles it to 2GB.

Deploy This Application

  • Install the balena CLI tools
  • Login with balena login
  • Download this project and from the project directory run balena push <appName> where is the name you gave your balenaCloud application in the first step.

Connecting

Pi-hole

Open a web browser and enter the device IP address like this: 192.168.1.2/admin. You can sign in and configure settings using the value set for WEBPASSWORD.

For more information on post install setup, check the offical Pi-hole documentation here: https://docs.pi-hole.net/main/post-install/

Minecraft

Open the Minecraft and enter your DEVICE_HOSTNAME, by default this will be balenaminecraftserver. You can also connect using the device IP address.

Updating

  • From the project directory run git submodule foreach git pull origin master
  • Wait for project changes to be pulled
  • Run balena push <appName> to push the changes to the Pi

Credit

All credit goes to:

balena-pi-hole_minecraft-server's People

Contributors

anthonyvadala avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.