mirror of
https://oauth2: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@github.com/m1ngsama/automa.git
synced 2026-05-10 19:11:07 +08:00
- Remove old services/, bin/, config.sh, Makefile, setup.sh - Each Docker Compose project is now a top-level self-contained directory with compose.yaml + .env.example (project self-governance) - Add automa CLI: interactive deploy, status, logs, stop, update, config - Add install.sh for curl-pipe-bash quick start - New projects from production: uptime-kuma, tailscale+derp, monitoring (prometheus+grafana+blackbox+node-exporter), filesuite (cloudreve+qbt), huajibot, dockge, notification-center - Clean up existing projects: forgejo, minecraft, teamspeak, nextcloud - Sanitize all .env.example files (no real secrets)
24 lines
629 B
YAML
24 lines
629 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server:latest
|
|
container_name: mc-fabric
|
|
ports:
|
|
- "${MC_PORT:-25565}:25565"
|
|
- "${RCON_PORT:-25575}:25575"
|
|
environment:
|
|
EULA: "TRUE"
|
|
TYPE: "${MC_TYPE:-FABRIC}"
|
|
VERSION: "${MC_VERSION:-1.21.1}"
|
|
MEMORY: "${MC_MEMORY:-4G}"
|
|
ONLINE_MODE: "${MC_ONLINE_MODE:-false}"
|
|
ENABLE_RCON: "true"
|
|
RCON_PORT: 25575
|
|
RCON_PASSWORD: "${RCON_PASSWORD}"
|
|
TZ: "${TZ:-Asia/Shanghai}"
|
|
volumes:
|
|
- ./data:/data
|
|
- ./mods:/data/mods
|
|
- ./configs:/configs:ro
|
|
restart: unless-stopped
|
|
tty: true
|
|
stdin_open: true
|