mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 05:31:59 +00:00
Added traefik forwarding for Minecraft server
In order to access McMyAdmin you have to change the default username: From SSH into the server: 1. docker exec -it mcmyadmin2 /bin/bash 2. ./minecraft/MCMA2_Linux_x86_64 -setpass yourNewUserName -configonly 3. docker stop mcmyadmin2 4. docker start mcmyadmin2 5. login with username yourNewUserName and password password 6. Change the password from the McMyAdmin web interface
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
extport: '8088'
|
||||
intport2: '25565'
|
||||
extport2: '25565'
|
||||
intport3: '25566'
|
||||
extport3: '25566'
|
||||
image: 'linuxserver/mcmyadmin2'
|
||||
|
||||
- name: 'Including cron job'
|
||||
@@ -42,13 +44,29 @@
|
||||
mode: 0755
|
||||
|
||||
# LABELS #### KEEPS BOTTOM CLEAN ###########################################
|
||||
- name: 'Adding Traefik'
|
||||
- name: 'Adding Traefik for McMyAdmin'
|
||||
set_fact:
|
||||
pg_labels:
|
||||
traefik.frontend.auth.forward.address: '{{gauth}}'
|
||||
traefik.enable: 'true'
|
||||
traefik.port: '{{intport}}'
|
||||
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
|
||||
traefik.frontend.rule: 'Host:mcmyadmin.{{domain.stdout}},{{tldset}}'
|
||||
|
||||
- name: 'Adding Traefik for Minecraft Server1'
|
||||
set_fact:
|
||||
pg_labels:
|
||||
# traefik.frontend.auth.forward.address: '{{gauth}}'
|
||||
traefik.enable: 'true'
|
||||
traefik.port: '{{intport2}}'
|
||||
traefik.frontend.rule: 'Host:minecraft.{{domain.stdout}},{{tldset}}'
|
||||
|
||||
- name: 'Adding Traefik for Minecraft Server2'
|
||||
set_fact:
|
||||
pg_labels:
|
||||
# traefik.frontend.auth.forward.address: '{{gauth}}'
|
||||
traefik.enable: 'true'
|
||||
traefik.port: '{{intport3}}'
|
||||
traefik.frontend.rule: 'Host:minecraft2.{{domain.stdout}},{{tldset}}'
|
||||
|
||||
- name: 'Setting PG Volumes'
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user