Skip to content

Commit e574f54

Browse files
committed
Migrated ATM10 from Dockerfile to minecraft-server
1 parent b877cfb commit e574f54

File tree

4 files changed

+19
-34
lines changed

4 files changed

+19
-34
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
**/data
55
**/config
66

7+
atm10/data/
8+
9+
direwolf/backups/
10+
direwolf/world/
11+
direwolf/server.properties
12+
713
spaceengineers/SpaceEngineersDedicated/*
814

915
valheim/data/*

atm10/.gitkeep

Whitespace-only changes.

atm10/Dockerfile

-26
This file was deleted.

docker-compose.yaml

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
direwolf:
43
build:
@@ -85,7 +84,7 @@ services:
8584
- "8766:8766"
8685
- "27016:27016/udp"
8786
environment:
88-
- WINEDEBUG=-all
87+
WINEDEBUG: -all
8988
volumes:
9089
- ${PWD}/spaceengineers/plugins:/appdata/space-engineers/plugins
9190
- ${PWD}/spaceengineers/instances:/appdata/space-engineers/instances
@@ -107,16 +106,22 @@ services:
107106
restart: on-failure
108107
stop_grace_period: 1m
109108
atm10:
110-
build:
111-
context: atm10/.
109+
image: itzg/minecraft-server
112110
ports:
113111
- "25565:25565"
114112
environment:
115-
- JAVA_MEMORY_LIMIT=8192
113+
MAX_MEMORY: 8G
114+
EULA: "TRUE"
115+
TYPE: AUTO_CURSEFORGE
116+
CF_API_KEY: ''
117+
CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/all-the-mods-10"
116118
volumes:
117-
- ${PWD}/atm10/server.properties:/atm10/server.properties
118-
- ${PWD}/atm10/backups:/atm10/backups
119-
- ${PWD}/atm10/world:/atm10/world
119+
- ${PWD}/atm10/data:/data
120+
healthcheck:
121+
test: mc-health
122+
start_period: 1m
123+
interval: 20s
124+
retries: 10
120125
tty: true
121126
stdin_open: true
122127
restart: on-failure

0 commit comments

Comments
 (0)