master
BuckarooBanzay 2022-06-12 22:16:03 +02:00 committed by Buckaroo Banzai
parent dcd7018f05
commit 7d6ddcbe2c
3 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,9 @@
location /ui/ {
proxy_pass http://ui:8080/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -41,6 +41,17 @@ services:
options:
max-size: 50m
ui:
image: buckaroobanzay/mtui:1.2
environment:
WORLD_DIR: "/data/world"
COOKIE_DOMAIN: "pandorabox.io"
COOKIE_SECURE: "true"
COOKIE_PATH: "/ui"
volumes:
- "./data/minetest:/data"
- "postgres_socket:/var/run/postgresql"
postgres-exporter:
image: wrouesnel/postgres_exporter:v0.8.0
restart: always
@ -108,11 +119,7 @@ services:
- kv
- nodered
- postgres-exporter
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: pandorabox.io
LETSENCRYPT_HOST: pandorabox.io
LETSENCRYPT_EMAIL: thomas@rudin.io
- ui
labels:
- "traefik.enable=true"
- "traefik.docker.network=terminator"

View File

@ -112,6 +112,9 @@ mapserver.enable_crafting = true
# webmail
webmail.url = http://webmail:8080
# ui url
mtui.url = http://ui:8080
# auth-proxy (wiki)
auth_proxy.url = http://auth-proxy:8080