Skip to content

Commit

Permalink
Docker para el servidor de minecraft
Browse files Browse the repository at this point in the history
  • Loading branch information
ComicIvans committed Jan 28, 2024
1 parent e68857d commit c703b9f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions fs/minecraft/home/dockeruser/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3"

services:
mariadb:
image: mariadb:10.6.14
container_name: mariadb
restart: unless-stopped
env_file: mariadb.env
ports:
- "3306:3306"
volumes:
- /var/lib/mysql:/var/lib/mysql

minio:
image: minio/minio
container_name: minio
restart: unless-stopped
command: minio server --address ':9000' --console-address ':9001' /data
ports:
- "9000:9000" # API
- "9001:9001" # Console
volumes:
- /var/minio:/data
env_file: minio.env
4 changes: 4 additions & 0 deletions fs/minecraft/home/dockeruser/mariadb.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MARIADB_ROOT_PASSWORD_HASH=*PWD1234
MARIADB_USER=user
MARIADB_PASSWORD_HASH=*PWD1234
MARIADB_DATABASE=minecraft
4 changes: 4 additions & 0 deletions fs/minecraft/home/dockeruser/minio.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MINIO_ROOT_USER=root
MINIO_ROOT_PASSWORD=psswd
MINIO_SERVER_URL: "https://mcminio.wupp.dev"
MINIO_BROWSER_REDIRECT_URL: "https://web.mcminio.wupp.dev/"

0 comments on commit c703b9f

Please sign in to comment.