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
environment:
# Discord configuration (fill these)
DISCORD_TOKEN: "REPLACE_ME"
DISCORD_CHANNEL_ID: ""
DISCORD_TOKEN: "MTA3MTEwMzcwMDAyMzY0ODMyMA.GIlFkn.o10LKcpjlaLDvVsgF_WKZhz5ykPYf1KEds_g3I"
DISCORD_CHANNEL_ID: "1247178901004877916"
# If set, webhook mode is used; leave empty to use the bot account
WEBHOOK_URL: ""
# Display name/avatar for server-origin messages (webhook mode)
SERVER_NAME: "Shulker"
SERVER_NAME: "TFMC"
SERVER_IMAGE: ""
# Message formatting and logging
@@ -26,8 +26,9 @@ services:
# Optionally override the log path inside the container (default shown)
# LOCAL_FILE_PATH_OVERRIDE: "/minecraft/logs/latest.log"
volumes:
# Persist config.json in a named volume
- shulker_data:/data
# No persistent /data needed; mount a tmpfs so Docker doesn't create an anonymous volume
- type: tmpfs
target: /data
# Map your host/server Minecraft logs into the container
- ./data/logs:/minecraft/logs:ro
# 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
- ./data:/data
volumes:
shulker_data:
driver: local