https://github.com/flloschy/minecraft-fabric-docker
A custom made fabric docker setup including cloudflare tunnel because no docker i tried worked
https://github.com/flloschy/minecraft-fabric-docker
cloudflared minecraft minecraft-fabric minecraft-server
Last synced: 5 months ago
JSON representation
A custom made fabric docker setup including cloudflare tunnel because no docker i tried worked
- Host: GitHub
- URL: https://github.com/flloschy/minecraft-fabric-docker
- Owner: flloschy
- Created: 2024-09-11T15:49:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-11T20:53:15.000Z (over 1 year ago)
- Last Synced: 2024-09-27T23:01:17.518Z (over 1 year ago)
- Topics: cloudflared, minecraft, minecraft-fabric, minecraft-server
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Fabric 1.21 server
A clean Docker based Fabric Minecraft server for 1.21 including cloudflare tunnel
This will create a backup before starting the minecraft server. If there are 10 backups already, it will delete the oldest,
## WARNING
YOUR WILL AUTOMATICALLY ACCEPT THE MINECRAFT EULA! BE AWARE
## configure
### tunnel
set your cloudflare tunnel TOKEN inside `docker-compose.yml`
### mods
download mod files to `./server/mods/`
## start
`docker compose up -d`
## access server console
`docker attach `
(find the container id using `docker ps`)
## connect from outside
### Windows
1. Download cloudflared to your client-system
find the newest `cloudflared-windows-amd64.exe` from https://github.com/cloudflare/cloudflared/releases/
2. start the tunnel connection
`C:\\cloudflared-windows-amd64.exe access tcp --hostname --url localhost:25565`
3. add server to minecraft
add the server by using localhost:25565
### Linux
1. install cloudflared using your package manager
2. start the tunnel connection
`cloudflared access tcp --hostname --url localhost:25565`
3. add server to minecraft
add the server by using localhost:25565
### IMPORTANT
the cloudflared process MUST run in the backgroun
## Change server version
go to `start.sh` and replace the fabric download link your desired version. You will also need to change the name of the file!
> This is a primary personal repository. I will not promise any update or help with issues, I might still, just no promises