-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
34 lines (32 loc) · 1.14 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3'
services:
cf-initcontainer:
image: tacomonkey/cf-initcontainer:latest
container_name: cf-initcontainer
volumes:
- "./downloads:/downloads"
environment:
- CF_API_KEY=${CF_API_KEY}
- MODPACK_ID=863689 # project id of the modpack
- FILE_ID=4594293 #file id of the specific modpack version
minecraft:
image: itzg/minecraft-server:java17-graalvm-ce
container_name: minecraft
ports:
- "25565:25565"
volumes:
- "./mc:/data"
- "./downloads:/downloads"
environment:
- EULA=TRUE
- MEMORY=8G
- TYPE=AUTO_CURSEFORGE
- CF_PAGE_URL=https://www.curseforge.com/minecraft/modpacks/statech-industry
- CF_API_KEY=${CF_API_KEY}
- CF_EXCLUDE_MODS=627566 704346 356643 475358 406343 393563 407206 398502 619718 365727 337243 547694 401978 541329 566140 417510 280294 313219 365615 629373 271492 459496 495267 455508 679177 325492 356461 308702 365521 363104 511319 385463 447673 394468 282313 521126 521594 547358
depends_on:
cf-initcontainer:
condition: service_completed_successfully
tty: true
stdin_open: true
restart: always