version: '3.8'

services:
  ssh-timeout:
    build:
      context: .
      dockerfile: Dockerfile
    image: ssh-timeout-image
    ports:
      - "2222:2222"
    environment:
      SSH_BACKEND: "your-backend-ip:port"
      SSH_MAX_DURATION: "600"
      LISTEN_ADDR: ":2222"