mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-09 15:37:58 +00:00
examples: update atm10 to use CF_IGNORE_MISSING_FILES (#4271)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
cf-api-key*
|
||||
@@ -0,0 +1,34 @@
|
||||
name: atm10-with-secret-file
|
||||
|
||||
secrets:
|
||||
cf-api-key:
|
||||
file: ./cf-api-key.txt
|
||||
|
||||
services:
|
||||
mc:
|
||||
image: itzg/minecraft-server
|
||||
tty: true
|
||||
stdin_open: true
|
||||
ports:
|
||||
- "25565:25565"
|
||||
environment:
|
||||
EULA: true
|
||||
MOD_PLATFORM: AUTO_CURSEFORGE
|
||||
CF_SLUG: all-the-mods-10
|
||||
# Optional: select a specific version/file
|
||||
# CF_FILENAME_MATCHER: "1.17"
|
||||
CF_API_KEY_FILE: /run/secrets/cf-api-key
|
||||
DEBUG: true
|
||||
MEMORY: 4G
|
||||
CF_OVERRIDES_EXCLUSIONS: |
|
||||
# Not applicable for server side
|
||||
shaderpacks/**
|
||||
secrets:
|
||||
- cf-api-key
|
||||
volumes:
|
||||
# Use managed volume by default, but can change to a relative path like
|
||||
# ./data:/data
|
||||
# to use a host directory
|
||||
- mc-data:/data
|
||||
volumes:
|
||||
mc-data:
|
||||
@@ -8,10 +8,13 @@ services:
|
||||
environment:
|
||||
EULA: true
|
||||
MOD_PLATFORM: AUTO_CURSEFORGE
|
||||
# Verified up to ATM10 8.1
|
||||
CF_SLUG: all-the-mods-10
|
||||
# Optional: select a specific version/file
|
||||
# CF_FILENAME_MATCHER: "1.17"
|
||||
MEMORY: 4G
|
||||
CF_IGNORE_MISSING_FILES: |
|
||||
config/ftbquests/quests/reward_tables/*.snbt
|
||||
CF_OVERRIDES_EXCLUSIONS: |
|
||||
# Not applicable for server side
|
||||
shaderpacks/**
|
||||
|
||||
Reference in New Issue
Block a user