-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker para el servidor de minecraft
- Loading branch information
1 parent
e68857d
commit c703b9f
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" |