version: "2.1"

services:
  freshrss:
    image: lscr.io/linuxserver/freshrss:latest
    container_name: freshrss
    environment:
      - PUID=1000
      - PGID=998
      - TZ=America/New_York
    volumes:
      - freshrss:/config
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.freshrss-websecure.entrypoints=websecure"
      - "traefik.http.routers.freshrss-websecure.rule=Host(`freshrss.meftimes.com`)"
      - "traefik.http.routers.freshrss-websecure.service=freshrss-websecure"
      - "traefik.http.services.freshrss-websecure.loadbalancer.server.port=80"
    networks:
      - proxy
    restart: unless-stopped

volumes:
  freshrss:

networks:
  proxy:
    external: true