services:
  wewe-rss:
    image: "cooderl/wewe-rss:latest"
    container_name: ${CONTAINER_NAME}
    restart: always
    networks:
      - 1panel-network
    ports:
      - "${PANEL_APP_PORT_HTTP}:4000"
    environment:
      - DATABASE_URL=${PANEL_DB_TYPE}://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?schema=public&connect_timeout=30&pool_timeout=30&socket_timeout=30
      - AUTH_CODE=${AUTH_CODE}
      - FEED_MODE=${FEED_MODE}
      - CRON_EXPRESSION=${CRON_EXPRESSION}
      - MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
      - SERVER_ORIGIN_URL=${SERVER_ORIGIN_URL}
    labels:
      createdBy: "Apps"

networks:
  1panel-network:
    external: true
