name: thelounge

services:
  thelounge:
    image: thelounge/thelounge:latest
    container_name: thelounge
    restart: unless-stopped
    networks:
      - npm_default
    # ports:
      # The 'ports' section is commented out because access will be managed
      # by a reverse proxy connected to the 'npm_default' network.
      # - "9000:9000"
    volumes:
      # Persist TheLounge configuration and data
      - /mnt/docker/local/thelounge/data:/var/opt/thelounge

networks:
  npm_default:
    external: true
