services:
  tessh-server:
    image: ghcr.io/tessh-dev/tessh-server:latest
    container_name: tessh-server
    restart: unless-stopped
    ports:
      # Setup, the panel, the API and key pages. Put a reverse proxy with HTTPS in front for real use.
      - "8080:8080"
    volumes:
      - tessh-data:/data
    # Nothing here is required: open the setup link from the logs. Setting one of these locks it in the panel.
    # environment:
    #   PUBLIC_URL: https://sync.example.com   # the HTTPS address the apps use
    #   SERVER_NAME: Tessh                     # shown on the home page and in the apps
    #   SIGNUPS: invite                        # open | invite | closed
    #   UPDATE_CHECK: "false"                  # stop the daily check for a newer release

volumes:
  tessh-data:
