Add minecraft server

This commit is contained in:
2024-12-26 00:06:39 +00:00
parent 0d2885de13
commit 8208fdcbdf
4 changed files with 27 additions and 3 deletions

View File

@@ -36,6 +36,12 @@ FOUNDRY_ADMIN_KEY=
NEXTCLOUD_ADMIN_USER=${USERNAME} NEXTCLOUD_ADMIN_USER=${USERNAME}
NEXTCLOUD_ADMIN_PASSWORD= NEXTCLOUD_ADMIN_PASSWORD=
#
# MineCraft Settings
# Image: itzg:minecraft-server
#
MINECRAFT_PASSWORD=
# #
# Tiny Tiny RSS settings (intel.scarif.space) # Tiny Tiny RSS settings (intel.scarif.space)
# Image: cthulhoo/ttrss-fpm-pgsql-static # Image: cthulhoo/ttrss-fpm-pgsql-static

View File

@@ -12,8 +12,6 @@ x-logging: &logging
max-size: "5m" max-size: "5m"
max-file: "2" max-file: "2"
version: "3.4"
services: services:
foundry: foundry:
<<: *logging <<: *logging
@@ -147,6 +145,23 @@ services:
depends_on: depends_on:
- db - db
minecraft:
<<: *logging
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
- TYPE=VANILLA
- VERSION=LATEST
- EULA=TRUE
- MEMORY=2G
- RCON_PASSWORD=${MINECRAFT_PASSWORD}
- MOTD="Scarif Minecraft Server"
volumes:
- minecraft:/data
tt-rss: tt-rss:
<<: *logging <<: *logging
image: cthulhoo/ttrss-fpm-pgsql-static:latest image: cthulhoo/ttrss-fpm-pgsql-static:latest
@@ -644,6 +659,7 @@ volumes:
foundry: foundry:
homebox: homebox:
navidrome: navidrome:
minecraft:
networks: networks:
db: db:

View File

@@ -1,4 +1,4 @@
FROM nextcloud:fpm-alpine FROM nextcloud:30-fpm-alpine
RUN set -ex; \ RUN set -ex; \
\ \

View File

@@ -167,5 +167,7 @@ $CONFIG = [
'password' => '', // Optional, if not defined no password will be used. 'password' => '', // Optional, if not defined no password will be used.
'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index. 'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
], ],
'config_is_read_only' => true,
]; ];