This commit is contained in:
+4
-3
@@ -119,9 +119,6 @@ services:
|
|||||||
- bluemap_maps:/data/bluemap/web/maps:rw
|
- bluemap_maps:/data/bluemap/web/maps:rw
|
||||||
- ./paper/config:/config:ro
|
- ./paper/config:/config:ro
|
||||||
- ./paper/plugins:/plugins:ro
|
- ./paper/plugins:/plugins:ro
|
||||||
- ./paper/data/bukkit.yml:/data/bukkit.yml:ro
|
|
||||||
- ./paper/data/commands.yml:/data/commands.yml:ro
|
|
||||||
- ./paper/data/spigot.yml:/data/spigot.yml:ro
|
|
||||||
environment:
|
environment:
|
||||||
UID: 2015 # minecraft_server
|
UID: 2015 # minecraft_server
|
||||||
GID: 2015 # minecraft_server
|
GID: 2015 # minecraft_server
|
||||||
@@ -429,6 +426,10 @@ services:
|
|||||||
- fabric_data:/fabric_data:rw
|
- fabric_data:/fabric_data:rw
|
||||||
- luckperms_data:/luckperms_data:rw
|
- luckperms_data:/luckperms_data:rw
|
||||||
- duplicati_data:/duplicati_data:rw
|
- duplicati_data:/duplicati_data:rw
|
||||||
|
# These files are coppied to /paper_data during init
|
||||||
|
- ./paper/data/bukkit.yml:/bukkit.yml:ro
|
||||||
|
- ./paper/data/commands.yml:/commands.yml:ro
|
||||||
|
- ./paper/data/spigot.yml:/spigot.yml:ro
|
||||||
labels:
|
labels:
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
diun.watch_repo: "true"
|
diun.watch_repo: "true"
|
||||||
|
|||||||
@@ -44,3 +44,12 @@ run chown minecraft_server:minecraft_server /paper_data/plugins
|
|||||||
run chown minecraft_server:minecraft_server /paper_data/plugins/WorldEdit
|
run chown minecraft_server:minecraft_server /paper_data/plugins/WorldEdit
|
||||||
run chown minecraft_server:minecraft_server /paper_data/plugins/WorldEdit/schematics
|
run chown minecraft_server:minecraft_server /paper_data/plugins/WorldEdit/schematics
|
||||||
|
|
||||||
|
# Copy config files for paper
|
||||||
|
# Paper emmits (non-fatal) errors when these files are mounted as read only
|
||||||
|
run cp /bukkit.yml /paper_data
|
||||||
|
run chown minecraft_server:minecraft_server /paper_data/bukkit.yml
|
||||||
|
run cp /commands.yml /paper_data
|
||||||
|
run chown minecraft_server:minecraft_server /paper_data/commands.yml
|
||||||
|
run cp /spigot.yml /paper_data
|
||||||
|
run chown minecraft_server:minecraft_server /paper_data/spigot.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user