mirror of
https://github.com/grey-cat-1908/portable-mc-server.git
synced 2024-09-22 19:22:00 +03:00
baza
This commit is contained in:
parent
31183dc51e
commit
46615d9340
9 changed files with 46 additions and 2 deletions
|
@ -1,4 +1,25 @@
|
||||||
name: Minecraft Server
|
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:
|
data:
|
||||||
applicationEnvironmentVariables:
|
applicationEnvironmentVariables:
|
||||||
- RAM: 1G
|
- RAM: 1G
|
||||||
|
defaultDeviceType: raspberrypi4-64
|
||||||
|
supportedDeviceTypes:
|
||||||
|
- raspberrypi4-64
|
||||||
|
- raspberrypi5
|
||||||
|
version: 1.0.0
|
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.git
|
||||||
|
.github
|
||||||
|
static
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.idea/
|
|
@ -15,6 +15,8 @@ This is a project that allows you to easily install and configure a minecraft se
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
![wifi connect](https://raw.githubusercontent.com/balena-os/wifi-connect/master/docs/images/how-it-works.png)
|
||||||
|
|
||||||
... ToDo...?
|
... ToDo...?
|
||||||
|
|
||||||
## Connect to the server
|
## Connect to the server
|
||||||
|
|
1
VERSION
Normal file
1
VERSION
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1.0.0
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2'
|
version: '2.1'
|
||||||
services:
|
services:
|
||||||
minecraft:
|
minecraft:
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
@ -29,6 +29,14 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "22:22/tcp"
|
- "22:22/tcp"
|
||||||
- "22:22/udp"
|
- "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:
|
volumes:
|
||||||
mcfiles:
|
mcfiles:
|
||||||
localcache:
|
localcache:
|
4
repo.yml
Normal file
4
repo.yml
Normal 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
BIN
static/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
4
wifi-connect/Dockerfile.template
Normal file
4
wifi-connect/Dockerfile.template
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM bh.cr/balenalabs/wifi-connect-%%BALENA_ARCH%%
|
||||||
|
|
||||||
|
ENV PORTAL_SSID="MinecraftServerSetup"
|
||||||
|
ENV PORTAL_PASSPHRASE="yourportablemcserver"
|
Loading…
Reference in a new issue