-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
47 lines (42 loc) · 1.02 KB
/
Copy pathcompose.yml
File metadata and controls
47 lines (42 loc) · 1.02 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "3.9"
services:
minecraft:
build:
args:
ALPINE_VERSION: "latest"
CONTAINER_VERSION: "1.20.4-426-427-90"
MINECRAFT_VERSION: "1.20.4"
PAPER_VERSION: "423"
SPIGOT_VERSION: "427"
FLOODGATE_VERSION: "90"
context: .
dockerfile: container.build
no_cache: true
tags:
- "minecraft:build"
- "gautada/minecraft:build"
- "gautada/minecraft:latest"
image: "gautada/minecraft:latest"
environment:
- MINECRAFT_SERVER_OPTIONS="-Dcom.mojang.eula.agree=true"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
volumes:
- "Container:/mnt/volumes/container"
- "Backup:/mnt/volumes/backup"
- "Configmaps:/mnt/volumes/configmaps"
- "Secrets:/mnt/volumes/secrets"
volumes:
Container:
external: true
name: "Container"
Backup:
external: true
name: "Backup"
Configmaps:
external: true
name: "Configmaps"
Secrets:
external: true
name: "Secrets"