diff --git a/.github/workflows/runglobal.yml b/.github/workflows/runglobal.yml index 3085cca..aa1aa1b 100644 --- a/.github/workflows/runglobal.yml +++ b/.github/workflows/runglobal.yml @@ -53,13 +53,18 @@ jobs: run: | mkdir /tmp/muse cd /tmp/muse - wget https://raw.githubusercontent.com/CeciliaKelley33Mm/global/refs/heads/master/docker-compose.yml + wget -O docker-compose.yml https://raw.githubusercontent.com/CeciliaKelley33Mm/global/refs/heads/master/muse-compose.yml sed -i 's/DISCORD_TOKEN_PLACEHOLDER/${{ secrets.DISCORD_TOKEN }}/g' docker-compose.yml sed -i 's/YOUTUBE_API_KEY_PLACEHOLDER/${{ secrets.YOUTUBE_API_KEY }}/g' docker-compose.yml sed -i 's/SPOTIFY_CLIENT_ID_PLACEHOLDER/${{ secrets.SPOTIFY_CLIENT_ID }}/g' docker-compose.yml sed -i 's/SPOTIFY_CLIENT_SECRET_PLACEHOLDER/${{ secrets.SPOTIFY_CLIENT_SECRET }}/g' docker-compose.yml docker compose up -d & + mkdir /tmp/minecraft + cd /tmp/minecraft + wget -O docker-compose.yml https://raw.githubusercontent.com/CeciliaKelley33Mm/global/refs/heads/master/minecraft-compose.yml + docker compose up -d & + cd /tmp/CeciliaKelley33Mm.github.io-main/backend npm i node index.js & diff --git a/minecraft-compose.yml b/minecraft-compose.yml new file mode 100644 index 0000000..389e627 --- /dev/null +++ b/minecraft-compose.yml @@ -0,0 +1,34 @@ +services: + minecraft: + image: itzg/minecraft-server + tty: true + stdin_open: true + ports: + - "25565:25565" + environment: + TZ: "America/Los_Angeles" + + EULA: "TRUE" + INIT_MEMORY: "4G" + MAX_MEMORY: "14G" + USE_AIKAR_FLAGS: "true" + + TYPE: "paper" + + MOTD: "§dA Minecraft Server hosted on GitHub Actions :D" + ONLINE_MODE: "false" + DIFFICULTY: "peaceful" + MAX_PLAYERS: "100" + ENABLE_COMMAND_BLOCK: "true" + MODE: "creative" + ALLOW_FLIGHT: "true" + + RCON_PASSWORD: "minecraft" # totally secure password wow + + PLUGINS: | + https://github.com/EssentialsX/Essentials/releases/download/2.20.1/EssentialsX-2.20.1.jar + https://hangarcdn.papermc.io/plugins/ViaVersion/ViaBackwards/versions/5.0.3/PAPER/ViaBackwards-5.0.3.jar + https://cdn.modrinth.com/data/fRQREgAc/versions/AdtrWcU2/Dynmap-3.7-beta-7-spigot.jar + SPIGET_RESOURCES: "19254,52109" # viaversion, viarewind + volumes: + - ./data:/data diff --git a/docker-compose.yml b/muse-compose.yml similarity index 100% rename from docker-compose.yml rename to muse-compose.yml