updating for dirkocraft

This commit is contained in:
root 2022-07-10 20:05:40 -04:00
parent 07c09ab1ba
commit 11501e27f3
7 changed files with 62 additions and 7 deletions

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
*.swp
*~
serverdata/
mariadb-data/
serverdata/*/world*
velocity-data/

View file

@ -2,24 +2,78 @@
version: "3.9"
services:
minecraft:
container_name: "main_world"
main:
build: papermc-build
environment:
MEMORYSIZE: "6G"
volumes:
- "./serverdata/main:/data:rw"
ports:
- "192.168.45.200:25566:25565"
- "25566:25565"
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true
restart: unless-stopped
velocity:
creative:
build: papermc-build
environment:
MEMORYSIZE: "6G"
volumes:
- "./serverdata/creative:/data:rw"
ports:
- "25567:25565"
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true
restart: unless-stopped
anarchy:
build: papermc-build
environment:
MEMORYSIZE: "6G"
volumes:
- "./serverdata/vanilla:/data:rw"
ports:
- "25568:25565"
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true
restart: unless-stopped
lobby:
build: papermc-build
environment:
MEMORYSIZE: "6G"
volumes:
- "./serverdata/lobby:/data:rw"
ports:
- "25569:25565"
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true
restart: unless-stopped
minecraftdb:
image: mariadb:10.8
environment:
MARIADB_ROOT_PASSWORD: twaupkoHyclubDitjumyuvmusturvobutsadBy
MARIADB_USER: minecraft
MARIADB_PASSWORD: dalOdixbeighiHygCottyemDegbapebTevImeesE
MARIADB_AUTO_UPGRADE: "true"
volumes:
- ./mariadb-data/:/var/lib/mysql
restart: unless-stopped
velocity:
build: ./velocity-build/
restart: unless-stopped
ports:
- 192.168.45.200:25565:25565
- "25577:25577"
- "19132:19132"
volumes:
- ./velocity-data/:/data/
stdin_open: true
tty: true
haproxy:
image: haproxy:alpine
restart: unless-stopped
ports:
- "25565:25565"
volumes:
- './haproxy_conf/:/usr/local/etc/haproxy'

0
serverdata/.keep Normal file
View file

View file

0
serverdata/lobby/.keep Normal file
View file

0
serverdata/main/.keep Normal file
View file

0
serverdata/vanilla/.keep Normal file
View file