mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-26 13:14:11 +00:00
Update mcmyadmin2.yml
This commit is contained in:
@@ -18,8 +18,6 @@
|
|||||||
extport: '8088'
|
extport: '8088'
|
||||||
intport2: '25565'
|
intport2: '25565'
|
||||||
extport2: '25565'
|
extport2: '25565'
|
||||||
intport3: '25566'
|
|
||||||
extport3: '25566'
|
|
||||||
image: 'linuxserver/mcmyadmin2'
|
image: 'linuxserver/mcmyadmin2'
|
||||||
|
|
||||||
- name: 'Including cron job'
|
- name: 'Including cron job'
|
||||||
@@ -44,18 +42,13 @@
|
|||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
# LABELS #### KEEPS BOTTOM CLEAN ###########################################
|
# LABELS #### KEEPS BOTTOM CLEAN ###########################################
|
||||||
- name: 'Adding Traefik for McMyAdmin'
|
- name: 'Adding Traefik'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_labels:
|
pg_labels:
|
||||||
traefik.frontend.auth.forward.address: '{{gauth}}'
|
traefik.frontend.auth.forward.address: '{{gauth}}'
|
||||||
traefik.enable: 'true'
|
traefik.enable: 'true'
|
||||||
traefik.frontend.port: '{{intport}}'
|
traefik.port: '{{intport}}'
|
||||||
traefik.backend.port: '{{intport2}}'
|
traefik.frontend.rule: 'Host:minecraft.{{domain.stdout}},{{tldset}}'
|
||||||
traefik.frontend.rule: 'Host:mcmyadmin.{{domain.stdout}},{{tldset}}'
|
|
||||||
traefik.backend.rule: 'Host:minecraft.{{domain.stdout}},{{tldset}}'
|
|
||||||
traefik.backend: 'minecraft'
|
|
||||||
traefik.frontend.entryPoints: 'https'
|
|
||||||
traefik.backend.entryPoints: 'http'
|
|
||||||
|
|
||||||
- name: 'Setting PG Volumes'
|
- name: 'Setting PG Volumes'
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -80,6 +73,8 @@
|
|||||||
pull: yes
|
pull: yes
|
||||||
published_ports:
|
published_ports:
|
||||||
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
||||||
|
- '25565:25565/tcp'
|
||||||
|
- '25566:25566/tcp'
|
||||||
volumes: '{{pg_volumes}}'
|
volumes: '{{pg_volumes}}'
|
||||||
env: '{{pg_env}}'
|
env: '{{pg_env}}'
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user