Compare commits
32 Commits
Author | SHA1 | Date | |
---|---|---|---|
f384f8d8ea | |||
a4c850aee1 | |||
0938ae59d4 | |||
ce90c8e320 | |||
c2598fd64e | |||
c8a58ef117 | |||
3294ee4493 | |||
a24bc8fa37 | |||
b406aace51 | |||
4d25ae6645 | |||
785004e705 | |||
812bb24690 | |||
cd946bee1f | |||
078c9ddd11 | |||
211614735d | |||
63eb0d764e | |||
02fcd86ed3 | |||
d43e99bdd8 | |||
6fef9dfeec | |||
7934799785 | |||
71e9f6c340 | |||
c5f2d8d35a | |||
6355a1243c | |||
342b6cbb8b | |||
73d9039a2a | |||
e8e2ae8d16 | |||
88dee47d9b | |||
e8082bd402 | |||
825faeeb53 | |||
bfedc09b6b | |||
5d4d133115 | |||
4c56347fe8 |
38
.gitea/compose.yaml
Normal file
38
.gitea/compose.yaml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
services:
|
||||||
|
forge:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
volumes:
|
||||||
|
- gitea_forge_volume:/data
|
||||||
|
environment:
|
||||||
|
- UID=1000
|
||||||
|
- GID=1000
|
||||||
|
- MAX_MEMORY=3G
|
||||||
|
- LOG_TIMESTAMP=true
|
||||||
|
- TYPE=FORGE
|
||||||
|
- VERSION=1.19.2
|
||||||
|
- DIFFICULTY=hard
|
||||||
|
- EULA=TRUE
|
||||||
|
- MOTD=Help us in the monopolization of the gaymen industry!
|
||||||
|
- SNOOPER_ENABLED=false
|
||||||
|
- VIEW_DISTANCE=8
|
||||||
|
- MODE=survival
|
||||||
|
- MAX_BUILD_HEIGHT=319
|
||||||
|
- SPAWN_PROTECTION=0
|
||||||
|
- ALLOW_FLIGHT=true
|
||||||
|
- SERVER_NAME=KomuSolutions GmbH & Ko KG
|
||||||
|
- ENABLE_STATUS=true
|
||||||
|
- USE_NATIVE_TRANSPORT=true
|
||||||
|
- GUI=false
|
||||||
|
- ENABLE_RCON=true
|
||||||
|
- BROADCAST_RCON_TO_OPS=true
|
||||||
|
- ENABLE_AUTOSTOP=true
|
||||||
|
- AUTOSTOP_TIMEOUT_INIT=10
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
gitea_forge_volume:
|
||||||
|
forge_volume:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
device: /workspace/KomuSolutions/forge_server
|
||||||
|
o: bind
|
25
.gitea/workflows/ci.yaml
Normal file
25
.gitea/workflows/ci.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Forge Server CI
|
||||||
|
run-name: Running build for ${{ gitea.actor }}
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: docker
|
||||||
|
steps:
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add --upgrade nodejs
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Run Minecraft Docker Server
|
||||||
|
run: |
|
||||||
|
docker volume create --driver local --opt type=none --opt device=/workspace/KomuSolutions/forge_server --opt o=bind forge_volume
|
||||||
|
docker inspect forge_volume
|
||||||
|
ls
|
||||||
|
pwd
|
||||||
|
cd .gitea
|
||||||
|
docker compose up
|
||||||
|
cd ..
|
||||||
|
tree
|
Reference in New Issue
Block a user