version: '3'

services:
  torrserv:
    image: torrserver:v134
    container_name: torrserv
    ports:
      - 30111:8090
      - 30112:8091
    restart: always
    volumes:
      - /app/torrserver/db:/db
      - /app/certbot/ssl:/ssl
      - torserv_cache:/cache
#    mem_limit: "4G"
#  certbot:
#    image: certbot/certbot:latest
#    volumes:
#      - /app/torrserver/ssl:/etc/letsencrypt/:rw



volumes:
  torserv_cache:
