File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Monorepo collection of fly.toml and Dockerfile etc collections for deployment.
10
10
- [ Jupyter] ( https://jupyter.org )
11
11
- [ Maybe] ( https://github.com/maybe-finance/maybe )
12
12
- [ meilisearch] ( https://github.com/meilisearch/meilisearch )
13
+ - [ Minecraft] ( https://docker-minecraft-server.readthedocs.io/en/latest/ )
13
14
- [ n8n] ( https://github.com/n8n-io/n8n )
14
15
- [ NocoDB] ( https://github.com/nocodb/nocodb )
15
16
- [ Redis] ( https://redis.io/docs/latest/ )
Original file line number Diff line number Diff line change
1
+ # Minecraft on Fly.io
2
+
3
+ For more configuration options, see: https://docker-minecraft-server.readthedocs.io/en/latest/variables/
4
+
5
+ ## Instructions
6
+
7
+ 1 . Launch fly app: ` fly launch --no-deploy `
8
+ 2 . Allocate dedicated IPs:
9
+
10
+ ``` bash
11
+ fly ips allocate-v6
12
+ fly ips allocate-v4 --yes
13
+ ```
14
+
15
+ 3 . Launch the app: ` fly deploy `
Original file line number Diff line number Diff line change
1
+ app = ' minecraft-server-morning-sun-1582'
2
+ primary_region = ' sjc'
3
+
4
+ [build ]
5
+ image = ' itzg/minecraft-server'
6
+
7
+ [env ]
8
+ MEMORY = ' 1G'
9
+ SERVER_PORT = ' 25565'
10
+ SERVER_HOST = ' localhost'
11
+ TZ = ' US/Pacific'
12
+ EULA = ' TRUE'
13
+ VERSION = ' LATEST' # Configure the Minecraft version
14
+ ENABLE_ROLLING_LOGS = ' true'
15
+ ENABLE_RCON = ' false'
16
+ RCON_PORT = ' 28016'
17
+ # RCON_PASSWORD = 'testing' # SET WITH `fly secrets set RCON_PASSWORD=testing`
18
+ SERVER_NAME = ' FlyServer'
19
+ MOTD = ' Welcome to Minecraft on Fly.io!'
20
+ DIFFICULTY = ' easy'
21
+ MODE = ' survival'
22
+ PVP = ' true'
23
+ LOG_IPS = ' true'
24
+ # SEED = '1785852800490497919'
25
+
26
+ [[mounts ]]
27
+ source = ' data'
28
+ destination = ' /data'
29
+ initial_size = ' 2g'
30
+
31
+ [[services ]]
32
+ protocol = ' tcp'
33
+ internal_port = 25565
34
+ auto_stop_machines = ' suspend'
35
+ auto_start_machines = true
36
+ min_machines_running = 1
37
+ [[services .ports ]]
38
+ handlers = []
39
+ port = 25565
40
+
41
+ [[vm ]]
42
+ memory = ' 1gb'
43
+ cpus = 1
You can’t perform that action at this time.
0 commit comments