Files
app-catalog-felhom.eu/templates/termix/docker-compose.yml
T

48 lines
1.5 KiB
YAML

# Termix - Webes SSH és szerver menedzser
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~30M (mem_limit: 256M) | Pi-compatible: Yes
# 128M -> 256M (R-994, 2026-10-17: the 2026-10-13 sizing run measured a peak of 117 MB = 91 % of the old 128M; the new limit keeps it at or under ~70 %).
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
services:
termix:
image: ghcr.io/lukegus/termix:26.10.5
container_name: termix
restart: unless-stopped
environment:
# decision 47: the app's own sign-up switch — open until the box closes it after the first admin (after_setup)
- ALLOW_REGISTRATION=${SIGNUP_OPEN:-true}
- TZ=Europe/Budapest
- PORT=8080
volumes:
- termix_data:/app/data
networks:
- traefik-public
deploy:
resources:
limits:
memory: 256M
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:8080"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.termix.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.termix.entrypoints=websecure"
- "traefik.http.routers.termix.tls=true"
- "traefik.http.routers.termix.tls.certresolver=letsencrypt"
- "traefik.http.services.termix.loadbalancer.server.port=8080"
volumes:
termix_data:
networks:
traefik-public:
external: true