services:
  server:
    container_name: lilou-cat
    image: git.pihkaal.xyz/pihkaal/lilou-cat:latest
    networks:
      - web
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.lilou-cat.rule=Host(`lilou.cat`)"
      - "traefik.http.routers.lilou-cat.service=lilou-cat"
      - "traefik.http.services.lilou-cat.loadbalancer.server.port=3000"
      - "traefik.http.routers.lilou-cat.tls=true"
      - "traefik.http.routers.lilou-cat.tls.certResolver=myresolver"
    restart: always

networks:
  web:
    external: true
