This commit is contained in:
grey-cat-1908 2024-02-01 11:38:30 +03:00
parent 31183dc51e
commit 46615d9340
9 changed files with 46 additions and 2 deletions

View file

@ -1,4 +1,25 @@
name: Minecraft Server
description: >-
A Portable Minecraft Server Minecraft server that you can easily run on your Raspberry Pi.
type: sw.application
fleetcta: A Portable Minecraft Server
post-provisioning: >-
For usage instructions check out the [readme here](https://github.com/grey-cat-1908/portable-mc-server).
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/grey-cat-1908/portable-mc-server'
logo:
type: blob.asset
data:
url: >-
https://raw.githubusercontent.com/grey-cat-1908/portable-mc-server/master/static/logo.png
data:
applicationEnvironmentVariables:
- RAM: 1G
- RAM: 1G
defaultDeviceType: raspberrypi4-64
supportedDeviceTypes:
- raspberrypi4-64
- raspberrypi5
version: 1.0.0

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
.git
.github
static

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea/

View file

@ -15,6 +15,8 @@ This is a project that allows you to easily install and configure a minecraft se
## Setup
![wifi connect](https://raw.githubusercontent.com/balena-os/wifi-connect/master/docs/images/how-it-works.png)
... ToDo...?
## Connect to the server

1
VERSION Normal file
View file

@ -0,0 +1 @@
1.0.0

View file

@ -1,4 +1,4 @@
version: '2'
version: '2.1'
services:
minecraft:
network_mode: host
@ -29,6 +29,14 @@ services:
ports:
- "22:22/tcp"
- "22:22/udp"
wifi-connect:
build: ./wifi-connect
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: "1"
io.balena.features.firmware: "1"
volumes:
mcfiles:
localcache:

4
repo.yml Normal file
View file

@ -0,0 +1,4 @@
type: generic
upstream:
- repo: portable-mc-server
url: https://github.com/grey-cat-1908/portable-mc-server

BIN
static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -0,0 +1,4 @@
FROM bh.cr/balenalabs/wifi-connect-%%BALENA_ARCH%%
ENV PORTAL_SSID="MinecraftServerSetup"
ENV PORTAL_PASSPHRASE="yourportablemcserver"