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

47 lines
1.3 KiB
YAML

# Termix - Webes SSH és szerver menedzser
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~30M (mem_limit: 128M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
services:
termix:
image: ghcr.io/lukegus/termix:2.8.0
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: 128M
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