From 785004e705c14cd59883254410f03c2ca6545c14 Mon Sep 17 00:00:00 2001 From: Leon Wilzer Date: Fri, 29 Mar 2024 12:52:00 +0100 Subject: [PATCH] Update .gitea/compose.yaml --- .gitea/compose.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/compose.yaml b/.gitea/compose.yaml index 379a64a..6e9f29b 100644 --- a/.gitea/compose.yaml +++ b/.gitea/compose.yaml @@ -2,7 +2,7 @@ services: forge: image: itzg/minecraft-server volumes: - - /workspace/KomuSolutions/forge_server:/data + - forge-volume:/data environment: - UID=1000 - GID=1000 @@ -26,4 +26,12 @@ services: - ENABLE_RCON=true - BROADCAST_RCON_TO_OPS=true - ENABLE_AUTOSTOP=true - - AUTOSTOP_TIMEOUT_INIT=10 \ No newline at end of file + - AUTOSTOP_TIMEOUT_INIT=10 + +volumes: + forge-volume: + driver: local + driver_opts: + type: none + device: /workspace/KomuSolutions/forge_server + o: bind \ No newline at end of file