changed to tmpfs

This commit is contained in:
Marc
2025-10-02 10:29:52 +02:00
parent 4d7cacaee4
commit 3829e3d409

View File

@@ -8,13 +8,13 @@ services:
# Configure everything inline here; no .env file required # Configure everything inline here; no .env file required
environment: environment:
# Discord configuration (fill these) # Discord configuration (fill these)
DISCORD_TOKEN: "REPLACE_ME" DISCORD_TOKEN: "MTA3MTEwMzcwMDAyMzY0ODMyMA.GIlFkn.o10LKcpjlaLDvVsgF_WKZhz5ykPYf1KEds_g3I"
DISCORD_CHANNEL_ID: "" DISCORD_CHANNEL_ID: "1247178901004877916"
# If set, webhook mode is used; leave empty to use the bot account # If set, webhook mode is used; leave empty to use the bot account
WEBHOOK_URL: "" WEBHOOK_URL: ""
# Display name/avatar for server-origin messages (webhook mode) # Display name/avatar for server-origin messages (webhook mode)
SERVER_NAME: "Shulker" SERVER_NAME: "TFMC"
SERVER_IMAGE: "" SERVER_IMAGE: ""
# Message formatting and logging # Message formatting and logging
@@ -26,8 +26,9 @@ services:
# Optionally override the log path inside the container (default shown) # Optionally override the log path inside the container (default shown)
# LOCAL_FILE_PATH_OVERRIDE: "/minecraft/logs/latest.log" # LOCAL_FILE_PATH_OVERRIDE: "/minecraft/logs/latest.log"
volumes: volumes:
# Persist config.json in a named volume # No persistent /data needed; mount a tmpfs so Docker doesn't create an anonymous volume
- shulker_data:/data - type: tmpfs
target: /data
# Map your host/server Minecraft logs into the container # Map your host/server Minecraft logs into the container
- ./data/logs:/minecraft/logs:ro - ./data/logs:/minecraft/logs:ro
# No port exposure needed in local log tail mode # No port exposure needed in local log tail mode
@@ -44,6 +45,4 @@ services:
# attach the relative directory 'data' to the container's /data path # attach the relative directory 'data' to the container's /data path
- ./data:/data - ./data:/data
volumes:
shulker_data:
driver: local